diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 5e7038c99..bf825cd87 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -18,12 +18,11 @@ jobs: - uses: actions/setup-node@v1 with: - node-version: 8.x + node-version: 10.x - name: Setup run: | - # Use `npm i` to work around https://github.com/npm/cli/issues/558 - npm i + npm ci gulp build - run: npx gulp test-node diff --git a/gulp-tasks/utils/build-node-package.js b/gulp-tasks/utils/build-node-package.js index 9894073e5..1cbb398fd 100644 --- a/gulp-tasks/utils/build-node-package.js +++ b/gulp-tasks/utils/build-node-package.js @@ -31,7 +31,7 @@ module.exports = (packagePath) => { ['@babel/preset-env', { targets: { // Change this when our minimum required node version changes. - node: '8.0', + node: '10.0', }, }], ], diff --git a/package.json b/package.json index 9c8fef781..d4f7040d9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "workbox", "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "scripts": { "bot": "pr-bot", diff --git a/packages/workbox-build/package.json b/packages/workbox-build/package.json index 93bca8466..2da99c62e 100644 --- a/packages/workbox-build/package.json +++ b/packages/workbox-build/package.json @@ -12,7 +12,7 @@ "file manifest" ], "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "author": "Google's Web DevRel Team", "license": "MIT", diff --git a/packages/workbox-cli/package.json b/packages/workbox-cli/package.json index 00c2e1e85..f24290b95 100644 --- a/packages/workbox-cli/package.json +++ b/packages/workbox-cli/package.json @@ -18,7 +18,7 @@ "build" ], "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "scripts": { "prepublish": "gulp build-packages --package workbox-cli" diff --git a/packages/workbox-webpack-plugin/package.json b/packages/workbox-webpack-plugin/package.json index 4e294f0a7..4b2b88f1f 100644 --- a/packages/workbox-webpack-plugin/package.json +++ b/packages/workbox-webpack-plugin/package.json @@ -25,7 +25,7 @@ "build" ], "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "dependencies": { "@babel/runtime": "^7.5.5",