Skip to content

Commit f3931fe

Browse files
committed
chore: deprecate node 18
upgrade to use actions/checkout@v4 removing node@22 due to issue npm/cli#7672
1 parent e99f6b2 commit f3931fe

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://github.com/marketplace/actions/setup-node-js-environment
1+
# @see: https://github.com/marketplace/actions/setup-node-js-environment
32

43
name: CI
54

@@ -17,14 +16,14 @@ jobs:
1716
runs-on: ubuntu-latest
1817
strategy:
1918
matrix:
20-
node-version: [18.x, 20.x]
21-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
19+
node: [ 20 ]
20+
name: Node ${{ matrix.node }}
2221
steps:
23-
- uses: actions/checkout@v3
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v3
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
# cache: 'npm'
29-
- run: npm install --ignore-scripts
30-
- run: npm run all
22+
- uses: actions/checkout@v4
23+
- name: Setup node
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: ${{ matrix.node }}
27+
- run: npm version
28+
- run: npm install --ignore-scripts
29+
- run: npm run all

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"example": "npm run build:example && npm run start:example",
6161
"changelog": "conv-changelog -i CHANGELOG.md -o",
6262
"lint": "eslint --ext .js .",
63-
"prepublishOnly": "npm run all",
6463
"readme": "markedpp --github -i README.md -o README.md",
6564
"start:example": "DEBUG=* node examples/app/server.cjs",
6665
"test": "mocha",

0 commit comments

Comments
 (0)