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 - push
- pull_request - pull_request
jobs: jobs:
cache-and-install: cache-and-install:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: [ 18.x ] node-version: [20.x]
os: [ ubuntu-latest, windows-latest, macos-latest ] os: [ubuntu-latest, windows-latest, macos-latest]
experimental: [ true ] experimental: [true]
steps: steps:
- name: Checkout - name: Checkout

View File

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