Skip to content

Commit

Permalink
ci: check more node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxy0551 committed Dec 3, 2024
1 parent 42e1452 commit cabd1f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ on:
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 14
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: yarn
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
}
},
"engines": {
"node": ">=14"
"node": ">=14 || <=16"
},
"ci": {
"version": "8, 9"
Expand Down

0 comments on commit cabd1f8

Please sign in to comment.