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 8cb1985 commit 47a3962Copy full SHA for 47a3962
.github/workflows/ci.yml
@@ -1,8 +1,17 @@
1
name: Default CI
2
-on: [push, pull_request]
+on:
3
+ push:
4
+ branches:
5
+ - 'master'
6
+ pull_request:
7
8
+ - '**'
9
jobs:
- build:
10
+ tests:
11
runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ node: [12, 14, 16]
15
steps:
16
- name: Checkout
17
uses: actions/checkout@v2
@@ -11,7 +20,7 @@ jobs:
20
- name: Setup Nodejs
21
uses: actions/setup-node@v2
22
with:
- node-version: 12
23
+ node-version: ${{ matrix.node }}
24
- name: Install dependencies
25
run: npm ci
26
- name: Validate package-lock.json changes
0 commit comments