Skip to content

Commit

Permalink
build: add node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Sep 12, 2023
1 parent 47cd9a6 commit 86d499b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node: 16.x
node: 20.x
- name: Install Packages
run: npm install
- name: Lint
Expand All @@ -32,7 +32,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
eslint: [8.x, 7.x]
node: [18.x]
node: [18.x, 20.x]
include:
# run on node lts(ubuntu-latest)
- os: ubuntu-latest
Expand All @@ -44,11 +44,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Packages
Expand Down

0 comments on commit 86d499b

Please sign in to comment.