File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 35
35
if : " ${{ matrix.node-version == '*' }}"
36
36
- name : Run tests against next@latest
37
37
run : npm test
38
+ canary :
39
+ name : Unit tests (Canary)
40
+ runs-on : ${{ matrix.os }}
41
+
42
+ strategy :
43
+ matrix :
44
+ os : [ubuntu-latest, macOS-latest, windows-latest]
45
+ node-version : [12, '*']
46
+ exclude :
47
+ - os : macOS-latest
48
+ node-version : 12
49
+ - os : windows-latest
50
+ node-version : 12
51
+ fail-fast : false
52
+
53
+ steps :
54
+ - uses : actions/checkout@v2
55
+ - name : Use Node.js ${{ matrix.node-version }}
56
+ uses : actions/setup-node@v2
57
+ with :
58
+ node-version : ${{ matrix.node-version }}
59
+ check-latest : true
60
+ - name : NPM Install
61
+ run : npm ci
38
62
- name : Install Next.js Canary
39
63
run : npm install -D next@canary --legacy-peer-deps
40
64
- name : Run tests against next@canary
You can’t perform that action at this time.
0 commit comments