Skip to content

Commit

Permalink
build: add node v19(ubuntu) (#68)
Browse files Browse the repository at this point in the history
it also changes the default node to v18(active lts),
and upgrade github actions to v3.
  • Loading branch information
aladdin-add committed Nov 21, 2022
1 parent bdfd61a commit 1665777
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/CI.yml
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node: 16.x
- name: Install Packages
Expand All @@ -32,7 +32,7 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
eslint: [8.x, 7.x]
node: [16.x]
node: [18.x]
include:
# run on node lts(ubuntu-latest)
- os: ubuntu-latest
Expand All @@ -41,20 +41,23 @@ jobs:
- os: ubuntu-latest
node: "14.x"
eslint: "8.x"
- os: ubuntu-latest
node: "16.x"
eslint: "8.x"
- os: ubuntu-latest
node: "17.x"
eslint: "8.x"
- os: ubuntu-latest
node: "18.x"
node: "19.x"
eslint: "8.x"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Packages
Expand Down

0 comments on commit 1665777

Please sign in to comment.