Skip to content

Commit 0e60aa0

Browse files
committed
build: fix ci
1 parent 79fcfa7 commit 0e60aa0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
env:
2929
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3030

31-
- run: pnpm i -g npm@latest
31+
- run: npm i -g npm@latest
3232
- run: pnpm i
3333
- run: pnpm run ci:publish
3434

scripts/publish.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import { $, fs } from 'zx'
22

33
await fs.copyFile('README.md', 'packages/slidev/README.md')
4-
await $`npx pnpm -r publish --access public --no-git-checks`
4+
await $`pnpm -r publish --access public --no-git-checks`

0 commit comments

Comments
 (0)