Skip to content

Commit

Permalink
chore(CI): use Node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward committed Mar 13, 2024
1 parent 84ce031 commit 029550e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
- "stable"
- "nightly"
node:
- "16"
- "20"
include:
# only enable coverage on the fastest job
- node: "16"
- node: "20"
ENABLE_CODE_COVERAGE: true

env:
NODE_ENV: test

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
cache: "npm"

Expand Down

0 comments on commit 029550e

Please sign in to comment.