Skip to content

Commit e35bcdd

Browse files
committed
fix: fix publish script to run build before publish
1 parent 18871c4 commit e35bcdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/npmpublish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: npm install, build, and test
2424
run: |
2525
npm i -g yarn
26-
yarn install
26+
yarn
2727
yarn test:ci
2828
yarn build
2929
env:
@@ -44,6 +44,8 @@ jobs:
4444
- name: yarn publish
4545
run: |
4646
npm i -g yarn
47+
yarn
48+
yarn build
4749
yarn config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
4850
yarn publish
4951
env:

0 commit comments

Comments
 (0)