Skip to content

Commit 9be9286

Browse files
committed
ci: don't run tests against 14, because appDir requires 16
1 parent 2f69d45 commit 9be9286

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.github/workflows/test.yml

-25
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ jobs:
1515
strategy:
1616
matrix:
1717
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
2418
fail-fast: false
2519

2620
steps:
@@ -32,15 +26,8 @@ jobs:
3226
check-latest: true
3327
- name: NPM Install
3428
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
4129
- name: Linting
4230
run: npm run format:ci
43-
if: "${{ matrix.node-version == 'lts/*' }}"
4431
- name: Run tests against next@latest
4532
run: npm test
4633
canary:
@@ -50,12 +37,6 @@ jobs:
5037
strategy:
5138
matrix:
5239
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
5940
fail-fast: false
6041

6142
if: github.ref_name == 'main'
@@ -70,11 +51,5 @@ jobs:
7051
run: npm install
7152
- name: Install Next.js Canary
7253
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
7954
- name: Run tests against next@canary
8055
run: npm test

0 commit comments

Comments
 (0)