Skip to content

Commit 9bb0a21

Browse files
authored
Update deploy.yml
1 parent 2efacea commit 9bb0a21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ jobs:
3232
uses: actions/checkout@v3
3333
with:
3434
fetch-depth: 0 # Not needed if lastUpdated is not enabled
35-
- uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
35+
# - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm
3636
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
3737
- name: Setup Node
3838
uses: actions/setup-node@v3
3939
with:
4040
node-version: 18
41-
cache: pnpm # or pnpm / yarn
41+
cache: npm # or pnpm / yarn
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v3
4444
- name: Install dependencies
45-
run: pnpm install # or pnpm install / yarn install / bun install
45+
run: npm install # or pnpm install / yarn install / bun install
4646
- name: Build with Slidev
4747
run: |
48-
pnpm run build # or pnpm docs:build / yarn docs:build / bun run docs:build
48+
npm run build # or pnpm docs:build / yarn docs:build / bun run docs:build
4949
- name: Upload artifact
5050
uses: actions/upload-pages-artifact@v2
5151
with:

0 commit comments

Comments
 (0)