Skip to content

Commit 19a4faa

Browse files
committed
chore: add a workflow of running test suite on different os
1 parent e09eaad commit 19a4faa

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Running test suite
2+
on: [push]
3+
jobs:
4+
test:
5+
strategy:
6+
matrix:
7+
platform: [ubuntu-latest, macos-latest, windows-latest]
8+
runs-on: ${{ matrix.platform }}
9+
steps:
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-node@v3
12+
with:
13+
node-version: '12.x'
14+
- run: npm install
15+
- run: npm run lint
16+
- run: npm run test

0 commit comments

Comments
 (0)