Skip to content

Commit 2012bad

Browse files
committed
fix: update publish yml
1 parent 9d35708 commit 2012bad

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v5
16+
17+
- uses: pnpm/action-setup@v4
18+
with:
19+
version: 9
20+
1621
- uses: actions/setup-node@v5
1722
with:
1823
node-version: 24
24+
cache: pnpm
1925
registry-url: "https://registry.npmjs.org"
20-
- run: npm ci
21-
- run: npm run build
22-
- run: npm publish
26+
27+
- run: pnpm install --frozen-lockfile
28+
29+
- run: pnpm build
30+
31+
- run: pnpm publish --no-git-checks --access public
2332
env:
2433
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)