We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988ffee commit e22ae4dCopy full SHA for e22ae4d
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: Run Tests
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ tags:
8
+ - v*
9
+ pull_request:
10
11
+jobs:
12
+ test:
13
+ name: Test (${{ matrix.os }} - ${{ matrix.arch }})
14
+ runs-on: ${{ matrix.os }}
15
+ strategy:
16
+ matrix:
17
+ os: [ macOS-latest, ubuntu-latest, windows-latest ]
18
+ arch: [ x64 ]
19
+ include:
20
+ - os: macOS-latest
21
+ arch: arm64
22
+ steps:
23
+ - uses: actions/checkout@v3
24
+ - name: Setup Node.js 16.x
25
+ uses: actions/[email protected]
26
+ with:
27
+ node-version: 16.x
28
+ cache: yarn
29
+ - name: Install
30
+ run: yarn install
31
+ - name: Lint
32
+ if: matrix.os == 'ubuntu-latest'
33
+ run: yarn lint
34
+ - name: Run tests
35
+ run: yarn test:ci
0 commit comments