File tree Expand file tree Collapse file tree 1 file changed +1
-52
lines changed Expand file tree Collapse file tree 1 file changed +1
-52
lines changed Original file line number Diff line number Diff line change 1
- name : Test
2
-
3
- on :
4
- push :
5
- branches :
6
- - master
7
-
8
- pull_request :
9
- types :
10
- - opened
11
- - synchronize
12
-
13
- jobs :
14
- test_matrix :
15
- strategy :
16
- matrix :
17
- node-version :
18
- - 10
19
- - 12
20
- - 14
21
- os :
22
- - ubuntu-latest
23
- - macos-latest
24
- - windows-latest
25
-
26
- runs-on : ${{ matrix.os }}
27
-
28
- steps :
29
- - uses : actions/checkout@v2
30
- - run : git config --global user.name github-actions
31
- -
run :
git config --global user.email [email protected]
32
-
33
- - name : Use Node.js ${{ matrix.node-version }}
34
- uses : actions/setup-node@v1
35
- with :
36
- node-version : ${{ matrix.node-version }}
37
- - 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
42
- test :
43
- runs-on : ubuntu-latest
44
- needs : test_matrix
45
- steps :
46
- - uses : actions/checkout@v2
47
- - name : Use Node.js ${{ matrix.node-version }}
48
- uses : actions/setup-node@v1
49
- with :
50
- node-version : ${{ matrix.node-version }}
51
- - uses : bahmutov/npm-install@v1
52
- - run : npm run lint
1
+ content
You can’t perform that action at this time.
0 commit comments