1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-13 18:00:58 +08:00

perf: 升级依赖版本,支持锁定node18.18

This commit is contained in:
mmdapl
2023-09-28 11:08:37 +08:00
committed by GitHub
parent f0d5e05936
commit a1dfbaf1d3
22 changed files with 2461 additions and 1924 deletions

View File

@@ -38,10 +38,10 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.20.2
node-version: 18.18.0
cache: 'pnpm'
run: |
pnpm i --frozen-lockfile --registry https://registry.npmmirror.com
- run: pnpm i --frozen-lockfile --registry https://registry.npmmirror.com
- name: Cache Dependencies
uses: actions/cache@v3
@@ -124,11 +124,8 @@ jobs:
uses: actions/cache@v3
with:
path: |
~/.pnpm-store
node_modules
key: ${{ runner.os }}-cache-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-cache-
key: ${{ runner.os }}-node_modules-${{ hashFiles('**/pnpm-lock.yaml') }}
### 打成压缩包
- name: Create Zip Package

View File

@@ -42,10 +42,10 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.20.2
node-version: 18.18.0
cache: 'pnpm'
run: |
pnpm i --frozen-lockfile --registry https://registry.npmmirror.com
- run: pnpm i --frozen-lockfile --registry https://registry.npmmirror.com
- name: Cache Dependencies
uses: actions/cache@v3