Skip to content

Commit

Permalink
chore!: remove node.js v14 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Sep 19, 2023
1 parent 1b39a78 commit 03e2745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [14, 16, 18, 20]
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v4
Expand All @@ -46,12 +46,6 @@ jobs:
with:
ruby-version: '2.7'

# install npm v8 on node.js v14 for package-lock v3 compatibility (npm v6 sems to have problems with it)
# use npm v8, issue with v9 on windows: https://github.com/actions/setup-node/issues/411#issuecomment-1025543081
# remove 'npm install' when node.js v14 support has ended
- if: matrix.node-version == '14'
run: npm install -global npm@8

- run: npm ci

- run: npm run prettier
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"author": "David Hérault <[email protected]> (https://github.com/dherault)",
"engines": {
"node": ">=14.18.0"
"node": ">=16.13.0"
},
"standard-version": {
"skip": {
Expand Down

0 comments on commit 03e2745

Please sign in to comment.