Skip to content

Commit

Permalink
feat: update engines to ^14.17.0 || ^16.13.0 || >=18.0.0 (#184)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this updates this package and the templated engines for
node to `^14.17.0 || ^16.13.0 || >=18.0.0`
  • Loading branch information
lukekarrys committed Sep 8, 2022
1 parent ae75f91 commit a72774a
Show file tree
Hide file tree
Showing 11 changed files with 96 additions and 96 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand All @@ -38,12 +38,12 @@ jobs:
fail-fast: false
matrix:
node-version:
- 12.13.0
- 12.x
- 14.15.0
- 14.17.0
- 14.x
- 16.0.0
- 16.13.0
- 16.x
- 18.0.0
- 18.x
platform:
- os: ubuntu-latest
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/post-dependabot.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-test.yml
Expand Up @@ -22,7 +22,7 @@ jobs:
git config --global user.name "npm CLI robot"
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
- name: Update npm to latest
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
- run: npm -v
Expand All @@ -34,12 +34,12 @@ jobs:
fail-fast: false
matrix:
node-version:
- 12.13.0
- 12.x
- 14.15.0
- 14.17.0
- 14.x
- 16.0.0
- 16.13.0
- 16.x
- 18.0.0
- 18.x
platform:
- os: ubuntu-latest
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion lib/content/index.js
Expand Up @@ -102,7 +102,7 @@ module.exports = {
// setting allows us to call a workflow by any name during release
releaseTest: 'release-test.yml',
distPaths: ['bin/', 'lib/'],
ciVersions: ['12.13.0', '12.x', '14.15.0', '14.x', '16.0.0', '16.x'],
ciVersions: ['14.17.0', '14.x', '16.13.0', '16.x', '18.0.0', '18.x'],
lockfile: false,
npmBin: 'npm',
unwantedPackages: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,6 +65,6 @@
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten."
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
}

0 comments on commit a72774a

Please sign in to comment.