Skip to content

Commit d7ce9ac

Browse files
committed
add GH test workflow
Signed-off-by: Matthew Peveler <[email protected]>
1 parent 0a235a9 commit d7ce9ac

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test
2+
3+
on: ['push', 'pull_request']
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [10.x, 12.x, 14.x, 15.x]
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- uses: actions/setup-node@v2
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
20+
- run: npm install
21+
22+
- run: npm run lint
23+
24+
- run: npm run build
25+
26+
- run: npm run test

0 commit comments

Comments
 (0)