There was an error while loading. Please reload this page.
2 parents 14ed921 + 60f00aa commit 00d01a0Copy full SHA for 00d01a0
.github/workflows/workflow.yml
@@ -0,0 +1,31 @@
1
+name: Tests
2
+on:
3
+ # Ensure GitHub actions are not run twice for same commits
4
+ push:
5
+ branches: [master]
6
+ tags: ["*"]
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+jobs:
10
+ build:
11
+ runs-on: ${{ matrix.os }}
12
+ timeout-minutes: 30
13
+ strategy:
14
+ matrix:
15
+ os: [ubuntu-latest, macOS-latest]
16
+ node-version: [12.x, 14.x]
17
+ exclude:
18
+ - os: macOS-latest
19
+ node-version: 12.x
20
+ fail-fast: false
21
+ steps:
22
+ - name: Git checkout
23
+ uses: actions/checkout@v2
24
+ - name: Node.js ${{ matrix.node-version }}
25
+ uses: actions/setup-node@v1
26
+ with:
27
+ node-version: ${{ matrix.node-version }}
28
+ - name: Install dependencies
29
+ run: npm ci
30
+ - name: Tests
31
+ run: npm test
0 commit comments