Skip to content

Commit

Permalink
chore: deprecate node 18 in favor of 22
Browse files Browse the repository at this point in the history
upgrade to use actions/checkout@v4
  • Loading branch information
commenthol committed Jul 21, 2024
1 parent e99f6b2 commit 4472006
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 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,13 @@ 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, 22 ]
name: Node ${{ matrix.node }} sample
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 install --ignore-scripts
- run: npm run all

0 comments on commit 4472006

Please sign in to comment.