Skip to content

Commit 5388f7c

Browse files
committed
ci: setup github actions
1 parent 60b143b commit 5388f7c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: 'ci'
2+
on:
3+
push:
4+
branches:
5+
- '**'
6+
paths-ignore:
7+
- README.md
8+
pull_request:
9+
branches:
10+
- '**'
11+
jobs:
12+
test:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
os:
18+
- ubuntu-latest
19+
- macos-latest
20+
- windows-latest
21+
node-version:
22+
- 16
23+
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
24+
steps:
25+
- uses: actions/checkout@v2
26+
with:
27+
submodules: 'recursive'
28+
- uses: pnpm/action-setup@v2
29+
with:
30+
version: 7
31+
- uses: actions/setup-node@v2
32+
with:
33+
node-version: ${{ matrix.node-version }}
34+
cache: 'pnpm'
35+
- run: pnpm install
36+
- run: pnpm test

0 commit comments

Comments
 (0)