Skip to content

Commit 1073df3

Browse files
committed
ci: Fixed deploy
1 parent 8ca2370 commit 1073df3

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ jobs:
1717
version: 6.6.2
1818
run_install: true
1919

20+
- name: Build
21+
run: pnpm build
22+
2023
- uses: actions/setup-node@v1
2124
with:
2225
node-version: 12
2326
registry-url: https://registry.npmjs.org/
2427

25-
- run: npm publish --access public
28+
- run: npm publish
2629
env:
2730
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2831

@@ -38,11 +41,14 @@ jobs:
3841
version: 6.6.2
3942
run_install: true
4043

44+
- name: Build
45+
run: pnpm build
46+
4147
- uses: actions/setup-node@v1
4248
with:
4349
node-version: 12
4450
registry-url: https://npm.pkg.github.com
4551

46-
- run: npm publish --access public
52+
- run: npm publish
4753
env:
4854
NODE_AUTH_TOKEN: ${{secrets.NPM_GITHUB_TOKEN}}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"files": [
1010
"dist",
1111
"src",
12+
"package.json",
1213
"README.md"
1314
],
1415
"author": {

0 commit comments

Comments
 (0)