update: 更新cicd配置文件node版本

This commit is contained in:
XiaoDaiGua-Ray 2024-04-29 23:40:41 +08:00
parent 41dce4920f
commit 01287743e7
2 changed files with 4 additions and 5 deletions

View File

@ -2,16 +2,15 @@ on:
- push
- pull_request
jobs:
cache-and-install:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [ 18.x ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
experimental: [ true ]
node-version: [20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
experimental: [true]
steps:
- name: Checkout

View File

@ -4,7 +4,7 @@
"version": "4.8.2",
"type": "module",
"engines": {
"node": "^18.0.0 || >=20.0.0",
"node": ">=20.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {