File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3535 if : " ${{ matrix.node-version == '*' }}"
3636 - name : Run tests against next@latest
3737 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
3862 - name : Install Next.js Canary
3963 run : npm install -D next@canary --legacy-peer-deps
4064 - name : Run tests against next@canary
You can’t perform that action at this time.
0 commit comments