File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
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 :
@@ -18,31 +16,26 @@ jobs:
18
16
- 10
19
17
- 12
20
18
- 14
21
- # TODO: enable tests on macos-latest and windows-latest as part of fixing #299
22
- os : [ubuntu-latest]
23
-
24
- runs-on : ${{ matrix.os }}
25
-
19
+ os :
20
+ - ubuntu-latest
21
+ runs-on : " ${{ matrix.os }}"
26
22
steps :
27
23
- uses : actions/checkout@v2
28
- - name : Use Node.js ${{ matrix.node-version }}
24
+ - name : " Use Node.js ${{ matrix.node-version }}"
29
25
uses : actions/setup-node@v1
30
26
with :
31
- node-version : ${{ matrix.node-version }}
27
+ node-version : " ${{ matrix.node-version }}"
32
28
- uses : bahmutov/npm-install@v1
33
- - run : npm run test:ci
34
-
35
- # separate job to set as required in branch protection,
36
- # as the build names above change each time Node versions change
29
+ - run : " npm run test:ci"
37
30
test :
38
31
runs-on : ubuntu-latest
39
32
needs : test_matrix
40
33
steps :
41
34
- uses : actions/checkout@v2
42
- - name : Use Node.js ${{ matrix.node-version }}
35
+ - name : " Use Node.js ${{ matrix.node-version }}"
43
36
uses : actions/setup-node@v1
44
37
with :
45
- node-version : ${{ matrix.node-version }}
38
+ node-version : " ${{ matrix.node-version }}"
46
39
- uses : bahmutov/npm-install@v1
47
40
- run : npm run lint
48
41
- run : npx lockfile-lint --path package-lock.json
You can’t perform that action at this time.
0 commit comments