Skip to content

Commit

Permalink
feat: drop Node.js v16
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js v16 is no longer supported.
  • Loading branch information
kenany committed Sep 20, 2023
1 parent 04ecd3f commit 89ef77e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [14, 16, 18]
node-version: [18, 20]
os: [ubuntu-latest]
steps:
- name: Node.js ${{ matrix.node-version }}
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
name: release
name: Release
on:
push:
branches:
- master
permissions:
contents: read
jobs:
release:
name: release
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
steps:
- uses: actions/setup-node@v3.8.1
- name: Set up Node.js
uses: actions/setup-node@v3.8.1
with:
node-version: 20
- name: Update npm
run: |
npm install -g npm
npm --version
- uses: actions/checkout@v3.6.0
- name: Checkout code
uses: actions/checkout@v4.0.0
- name: Install dependencies
uses: bahmutov/npm-install@v1.8.34
uses: bahmutov/npm-install@v1.8.35
with:
useLockFile: false
- run: npm audit signatures
- name: Release
run: npm run release
env:
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package-lock = false
provenance = true
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"LICENSE.txt"
],
"engines": {
"node": "16 || 18 || >=20"
"node": "18 || >=20"
},
"scripts": {
"lint": "eslint .",
Expand All @@ -24,13 +24,13 @@
"release": "semantic-release"
},
"devDependencies": {
"@kenan/eslint-config": "^10.0.2",
"@kenan/eslint-config": "^11.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"conventional-changelog-conventionalcommits": "^6.1.0",
"eslint": "^8.47.0",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.49.0",
"lodash.isplainobject": "^4.0.6",
"semantic-release": "^21.0.7",
"semantic-release": "^22.0.0",
"tape": "^5.6.6"
}
}

0 comments on commit 89ef77e

Please sign in to comment.