diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index c6f0767..84e841b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,10 +13,10 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest] - node-version: [12.x, 14.x] + node-version: [10.17.0, 14.x] exclude: - os: macOS-latest - node-version: 12.x + node-version: 10.17.0 fail-fast: false steps: - name: Git checkout @@ -26,6 +26,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: npm ci + run: npm install - name: Tests run: npm test diff --git a/package.json b/package.json index 3036fbb..61f0e86 100644 --- a/package.json +++ b/package.json @@ -59,5 +59,8 @@ "hooks": { "pre-commit": "prettier --check ." } + }, + "engines": { + "node": ">=10.17.0" } } diff --git a/tests/helpers/buildNextApp.js b/tests/helpers/buildNextApp.js index 42d3125..9fe4d7e 100644 --- a/tests/helpers/buildNextApp.js +++ b/tests/helpers/buildNextApp.js @@ -19,9 +19,6 @@ const { NEXT_VERSION } = require("./nextVersion"); // run next-on-netlify. class NextAppBuilder { - // Name of the app to build. This determines the build path. - __appName = null; - // Set the application name. This determines the build path. forTest(testFile) { this.__appName = parse(testFile).name;