Skip to content

Commit 3ee50ee

Browse files
committed
use npm
1 parent 01e518c commit 3ee50ee

File tree

4 files changed

+8109
-67
lines changed

4 files changed

+8109
-67
lines changed

.github/workflow/main.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@ jobs:
2525
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0 # Not needed if lastUpdated is not enabled
28-
- uses: pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
28+
- uses: npm/action-setup@v3
2929
with:
3030
version: 8
3131
- name: Setup Node
3232
uses: actions/setup-node@v4
3333
with:
3434
node-version: 20
35-
cache: pnpm
35+
cache: npm
3636
- name: Setup Pages
3737
uses: actions/configure-pages@v5
3838
if: github.repository_owner == 'syf20020816'
3939
- name: Install dependencies
40-
run: pnpm install
40+
run: npm install
4141
- name: Build with Rspress
4242
run: |
43-
pnpm run build
43+
npm run build
4444
- name: Upload artifact
4545
uses: actions/upload-pages-artifact@v3
4646
with:

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ Cargo.lock
1919

2020
/doc_build
2121
/node_modules
22-
23-
package-lock.json

0 commit comments

Comments
 (0)