Skip to content

Commit 4a9134c

Browse files
committed
chore: add github actions test workflow
1 parent cb9b6c5 commit 4a9134c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on: push
2+
3+
jobs:
4+
test:
5+
name: test
6+
runs-on: ${{ matrix.os }}
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
node-version: [^10.18.0, ^12.14.0, ^13.5.0, ^14.0.0]
11+
os: [ubuntu-latest, windows-latest, macos-latest]
12+
13+
steps:
14+
- name: checkout
15+
uses: actions/checkout@v1
16+
with:
17+
fetch-depth: 1
18+
19+
- name: node
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: install
25+
run: yarn
26+
27+
- name: test
28+
run: yarn test

0 commit comments

Comments
 (0)