1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-01 16:49:22 +00:00

天才般的NODE_ENV

This commit is contained in:
SunWuyuan 2025-04-05 14:08:24 +08:00
parent 71823cafd7
commit 223d5bf794
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -26,21 +26,15 @@ 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: |
pnpm install
pnpm run build
npm install
npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact