File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : Test
2
-
3
- on :
2
+ " on " :
4
3
push :
5
4
branches :
6
5
- master
7
-
6
+ - renovate/**
8
7
pull_request :
9
8
types :
10
9
- opened
11
10
- synchronize
12
-
13
11
jobs :
14
12
test_matrix :
15
13
strategy :
@@ -22,31 +20,25 @@ jobs:
22
20
- ubuntu-latest
23
21
- macos-latest
24
22
- windows-latest
25
-
26
- runs-on : ${{ matrix.os }}
27
-
23
+ runs-on : " ${{ matrix.os }}"
28
24
steps :
29
25
- uses : actions/checkout@v2
30
26
- run : git config --global user.name github-actions
31
27
-
run :
git config --global user.email [email protected]
32
-
33
- - name : Use Node.js ${{ matrix.node-version }}
28
+ - name : " Use Node.js ${{ matrix.node-version }}"
34
29
uses : actions/setup-node@v1
35
30
with :
36
- node-version : ${{ matrix.node-version }}
31
+ node-version : " ${{ matrix.node-version }}"
37
32
- uses : bahmutov/npm-install@v1
38
- - run : npm run test:ci
39
-
40
- # separate job to set as required in branch protection,
41
- # as the build names above change each time Node versions change
33
+ - run : " npm run test:ci"
42
34
test :
43
35
runs-on : ubuntu-latest
44
36
needs : test_matrix
45
37
steps :
46
38
- uses : actions/checkout@v2
47
- - name : Use Node.js ${{ matrix.node-version }}
39
+ - name : " Use Node.js ${{ matrix.node-version }}"
48
40
uses : actions/setup-node@v1
49
41
with :
50
- node-version : ${{ matrix.node-version }}
42
+ node-version : " ${{ matrix.node-version }}"
51
43
- uses : bahmutov/npm-install@v1
52
44
- run : npm run lint
You can’t perform that action at this time.
0 commit comments