Skip to content

Commit

Permalink
build: update requied node.js >= 20
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Apr 2, 2024
1 parent 7785d8b commit ed36a61
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -11,11 +11,11 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
- name: Install dependencies
run: npm install
- name: Lint files
Expand All @@ -25,11 +25,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node: [16.x]
node: [20.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,6 +55,6 @@
"testEnvironment": "node"
},
"engines": {
"node": "16.x"
"node": ">=18"
}
}

0 comments on commit ed36a61

Please sign in to comment.