Skip to content

Commit fc946ef

Browse files
committed
ci(:green_heart:) fixing release workflow
1 parent f294796 commit fc946ef

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/on_release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212
node-version: 12
1313
registry-url: https://registry.npmjs.org/
1414
- name: npm install
15-
run: npm i
15+
run: |
16+
npm i
17+
npm run build
1618
- name: publish
17-
run: npm publish pkg
19+
run: npm publish pkg/
1820
env:
1921
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.1",
44
"description": "A small plugin that integrates react-docgen with docusaurus 2.x",
55
"scripts": {
6-
"test": "jest --silent",
6+
"test": "echo \"Error: no test specified\" && exit 1",
77
"lint": "eslint 'src/index.{ts,js,tsx}'",
88
"build": "pika build"
99
},

0 commit comments

Comments
 (0)