Skip to content

Commit 8c09ed6

Browse files
committed
make publishing to NPM async
1 parent 1fa0763 commit 8c09ed6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: Publish to NPM
7474
working-directory: ./package/package
75-
run: npm publish --provenance --access public
75+
run: npm publish --provenance --access public &
7676
env:
7777
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7878

@@ -90,3 +90,6 @@ jobs:
9090
- name: Deploy to GitHub Pages
9191
id: deployment
9292
uses: actions/deploy-pages@v4
93+
94+
- name: Await NPM publish completion
95+
run: wait

0 commit comments

Comments
 (0)