File tree 1 file changed +0
-25
lines changed
1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 15
15
strategy :
16
16
matrix :
17
17
os : [ubuntu-latest, macOS-latest, windows-latest]
18
- node-version : [14, '*']
19
- exclude :
20
- - os : macOS-latest
21
- node-version : 14
22
- - os : windows-latest
23
- node-version : 14
24
18
fail-fast : false
25
19
26
20
steps :
32
26
check-latest : true
33
27
- name : NPM Install
34
28
run : npm install
35
- - name : Switching to Node.js ${{ matrix.node-version }} to run tests
36
- uses : actions/setup-node@v2
37
- if : " ${{ matrix.node-version != 'lts/*' }}"
38
- with :
39
- node-version : ${{ matrix.node-version }}
40
- check-latest : true
41
29
- name : Linting
42
30
run : npm run format:ci
43
- if : " ${{ matrix.node-version == 'lts/*' }}"
44
31
- name : Run tests against next@latest
45
32
run : npm test
46
33
canary :
50
37
strategy :
51
38
matrix :
52
39
os : [ubuntu-latest, macOS-latest, windows-latest]
53
- node-version : [14, '*']
54
- exclude :
55
- - os : macOS-latest
56
- node-version : 14
57
- - os : windows-latest
58
- node-version : 14
59
40
fail-fast : false
60
41
61
42
if : github.ref_name == 'main'
70
51
run : npm install
71
52
- name : Install Next.js Canary
72
53
run : npm install -D next@canary --legacy-peer-deps
73
- - name : Switching to Node.js ${{ matrix.node-version }} to run tests
74
- uses : actions/setup-node@v2
75
- if : " ${{ matrix.node-version != 'lts/*' }}"
76
- with :
77
- node-version : ${{ matrix.node-version }}
78
- check-latest : true
79
54
- name : Run tests against next@canary
80
55
run : npm test
You can’t perform that action at this time.
0 commit comments