Skip to content

Commit

Permalink
fix(build): npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Eastboat committed Dec 4, 2024
1 parent 2f0bed4 commit e80d703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm # 或 pnpm / yarn
cache: npm # 或 pnpm / yarn
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci # 或 pnpm install / yarn install / bun install
- name: Build with VitePress
run: |
pnpm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
npm run docs:build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit e80d703

Please sign in to comment.