Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit b3fc7aa

Browse files
committed
fix: release script
1 parent efd6f49 commit b3fc7aa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
path: ~/.pnpm-store
2222
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
23-
23+
2424
- uses: actions/setup-node@v2
2525
with:
2626
node-version: '16'
@@ -31,7 +31,10 @@ jobs:
3131
- name: install packages
3232
run: pnpm install
3333

34+
- name: build
35+
run: pnpm build
36+
3437
- name: publish
35-
run: pnpm publish
38+
run: npm publish
3639
env:
37-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
40+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)