mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +00:00
update ci, use pnpm
This commit is contained in:
parent
92fcfcb69b
commit
e23ffe94fd
1 changed files with 7 additions and 2 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
|
@ -22,11 +22,16 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
|
||||||
|
- uses: pnpm/action-setup@v3
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
|
||||||
- name: Install Dependent Node Packages
|
- name: Install Dependent Node Packages
|
||||||
run: npm install
|
run: pnpm install
|
||||||
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: npm run build --base ${{ github.event.repository.name }}
|
run: pnpm run build --base ${{ github.event.repository.name }}
|
||||||
|
|
||||||
- name: Deploy # 部署
|
- name: Deploy # 部署
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.5.0
|
uses: JamesIves/github-pages-deploy-action@v4.5.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue