mirror of https://github.com/jiahaog/Nativefier
CI: bump top Node.js version to 17, which is now stable
This commit is contained in:
parent
e63a275ec9
commit
431f531065
|
@ -14,7 +14,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
node-version:
|
node-version:
|
||||||
# Align the top Node version here with: 1. linter conditions later below, 2. publish.yml.
|
# Align the top Node version here with: 1. linter conditions later below, 2. publish.yml.
|
||||||
- 16.x
|
- 17.x
|
||||||
# Bumping the minimum required Node version? You must bump:
|
# Bumping the minimum required Node version? You must bump:
|
||||||
# 1. package.json -> engines.node
|
# 1. package.json -> engines.node
|
||||||
# 2. package.json -> devDependencies.@types/node
|
# 2. package.json -> devDependencies.@types/node
|
||||||
|
@ -35,6 +35,6 @@ jobs:
|
||||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||||
- run: npm ci --no-fund
|
- run: npm ci --no-fund
|
||||||
# Only run linter once, for faster CI. Align the versions of Node here with above and publish.yml.
|
# Only run linter once, for faster CI. Align the versions of Node here with above and publish.yml.
|
||||||
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '16.x'
|
- if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '17.x'
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
# Align the version of Node here with ci.yml.
|
# Align the version of Node here with ci.yml.
|
||||||
node-version: '16.x'
|
node-version: '17.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
# Will also (through `prepare` hook): 1. install ./app, and 2. build
|
||||||
- run: npm ci --no-fund
|
- run: npm ci --no-fund
|
||||||
|
|
Loading…
Reference in New Issue