Skip to content

Commit

Permalink
ci: update node versions for cI
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed Sep 7, 2023
1 parent 4de23a6 commit 8e43c08
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Expand Up @@ -9,16 +9,16 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 10
- name: Use Node.js 16.x to build
- name: Use Node.js 18.x to build
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- run: npm install
- run: npm run build
- run: rm -rf node_modules
Expand All @@ -31,10 +31,10 @@ jobs:
env:
CI: true
- run: npm run lint
if: matrix.node-version == '16.x'
if: matrix.node-version == '18.x'
- run: npm run docs:diff
if: matrix.node-version == '16.x'
if: matrix.node-version == '18.x'
- run: npm run test:node
if: matrix.node-version >= '16.x'
if: matrix.node-version >= '18.x'
- run: npm run test:pack
if: matrix.node-version >= '16.x'
if: matrix.node-version >= '18.x'

0 comments on commit 8e43c08

Please sign in to comment.