1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-02 00:59:23 +00:00

直接使用pnpm

This commit is contained in:
SunWuyuan 2025-04-05 13:19:18 +08:00
parent f05cfcf96a
commit 71823cafd7
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -26,17 +26,21 @@ jobs:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Build
env:
NODE_ENV: production
run: |
npm install
npm run build
pnpm install
pnpm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact