We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e84f8e commit 546b923Copy full SHA for 546b923
.github/workflows/ci.yml
@@ -1,14 +1,18 @@
1
name: CI
2
3
-on: [push, pull_request]
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
jobs:
10
nodejs:
11
runs-on: ubuntu-20.04
12
13
strategy:
14
matrix:
- node-version: [12.x, 14.x]
15
+ node-version: ['12', '14']
16
17
steps:
18
- uses: actions/checkout@v2
@@ -34,8 +38,10 @@ jobs:
34
38
35
39
- name: Setup Node.js ${{ matrix.node-version }}
36
40
uses: actions/setup-node@v1
41
+ with:
42
+ node-version: '14'
37
43
44
- run: npm install -g npm
45
- run: npm ci
- - run: npm run test:browser -- --browsers "${{ matrix.browser }}"
46
+ - run: npm run test:browser -- --browsers ${{ matrix.browser }}
47
0 commit comments