Skip to content

Commit

Permalink
Add GitHub Action test runner
Browse files Browse the repository at this point in the history
This adds a test runner GitHub Action that runs against new pull requests.
  • Loading branch information
jpogran committed Feb 25, 2022
1 parent ee6f269 commit 634cc13
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test All Grammar

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version-file: '.nvmrc'
- name: Install modules
run: npm ci
- name: Run vscode-tmgrammar-test
run: npm test
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.13.2

0 comments on commit 634cc13

Please sign in to comment.