Skip to content

Commit

Permalink
chore: deprecate node 18
Browse files Browse the repository at this point in the history
upgrade to use actions/checkout@v4
removing node@22 due to issue npm/cli#7672
  • Loading branch information
commenthol committed Jul 21, 2024
1 parent e99f6b2 commit f3931fe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# 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
# For more information see: https://github.com/marketplace/actions/setup-node-js-environment
# @see: https://github.com/marketplace/actions/setup-node-js-environment

name: CI

Expand All @@ -17,14 +16,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
node: [ 20 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# cache: 'npm'
- run: npm install --ignore-scripts
- run: npm run all
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm version
- run: npm install --ignore-scripts
- run: npm run all
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"example": "npm run build:example && npm run start:example",
"changelog": "conv-changelog -i CHANGELOG.md -o",
"lint": "eslint --ext .js .",
"prepublishOnly": "npm run all",
"readme": "markedpp --github -i README.md -o README.md",
"start:example": "DEBUG=* node examples/app/server.cjs",
"test": "mocha",
Expand Down

0 comments on commit f3931fe

Please sign in to comment.