File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
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
-
8
6
pull_request :
9
7
types :
10
8
- opened
11
9
- synchronize
12
-
13
10
jobs :
14
11
test_matrix :
15
12
strategy :
@@ -18,11 +15,10 @@ jobs:
18
15
- 10
19
16
- 12
20
17
- 14
21
- # TODO: fix problem with windows, then add "windows-latest" to list of os
22
- os : [ubuntu-latest, macos -latest]
23
-
18
+ os :
19
+ - ubuntu -latest
20
+ - macos-latest
24
21
runs-on : ${{ matrix.os }}
25
-
26
22
steps :
27
23
- uses : actions/checkout@v2
28
24
- name : Use Node.js ${{ matrix.node-version }}
@@ -31,14 +27,13 @@ jobs:
31
27
node-version : ${{ matrix.node-version }}
32
28
- uses : bahmutov/npm-install@v1
33
29
- 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
37
30
test :
38
31
runs-on : ubuntu-latest
39
32
needs : test_matrix
40
33
steps :
41
34
- uses : actions/checkout@v2
42
35
- uses : actions/setup-node@v2
36
+ with :
37
+ node-version : 16
43
38
- uses : bahmutov/npm-install@v1
44
39
- run : npm run lint
You can’t perform that action at this time.
0 commit comments