Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit b5ff05e

Browse files
committed
Add support for Node 10
1 parent 00d01a0 commit b5ff05e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macOS-latest]
16-
node-version: [12.x, 14.x]
16+
node-version: [10.0.0, 14.x]
1717
exclude:
1818
- os: macOS-latest
19-
node-version: 12.x
19+
node-version: 10.0.0
2020
fail-fast: false
2121
steps:
2222
- name: Git checkout
@@ -26,6 +26,6 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
- name: Install dependencies
29-
run: npm ci
29+
run: npm install
3030
- name: Tests
3131
run: npm test

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,8 @@
5959
"hooks": {
6060
"pre-commit": "prettier --check ."
6161
}
62+
},
63+
"engines": {
64+
"node": ">=10.0.0"
6265
}
6366
}

tests/helpers/buildNextApp.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ const { NEXT_VERSION } = require("./nextVersion");
1919
// run next-on-netlify.
2020

2121
class NextAppBuilder {
22-
// Name of the app to build. This determines the build path.
23-
__appName = null;
24-
2522
// Set the application name. This determines the build path.
2623
forTest(testFile) {
2724
this.__appName = parse(testFile).name;

0 commit comments

Comments
 (0)