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 e4a2003 commit 6cb348dCopy full SHA for 6cb348d
.github/workflows/tests.yml
@@ -3,20 +3,30 @@
3
4
name: Tests
5
6
-on:
7
- push:
8
- branches: [ master, develop ]
9
- pull_request:
10
+on: [ push, pull_request ]
11
12
jobs:
13
test:
14
- runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os:
+ - ubuntu
+ - windows
15
+ - macos
16
+ node:
17
+ - 10
18
+ - 12
19
+ - 14
20
+
21
+ runs-on: ${{ matrix.os }}-latest
22
+ name: ${{ matrix.os }} (Node v${{ matrix.node }})
23
24
steps:
25
- uses: actions/checkout@v2
- - uses: actions/setup-node@v1
26
+ - name: Setup node
27
+ uses: actions/setup-node@v1
28
with:
- node-version: 12
29
+ node-version: ${{ matrix.node }}
30
registry-url: https://registry.npmjs.org/
31
- run: npm ci
32
- run: npm run build
0 commit comments