We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e292500 commit 4ff0cb7Copy full SHA for 4ff0cb7
1 file changed
.github/workflows/main.yml
@@ -30,11 +30,14 @@ jobs:
30
run: pnpm i --frozen-lockfile
31
32
- name: Build & Publish
33
- if: env.IS_RELEASE == 'true'
34
- run: npm publish --access public --provenance
35
env:
36
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
37
-
+ run: |
+ if [ $IS_RELEASE = "true" ]; then
+ npm publish --access public --provenance
38
+ else
39
+ pnpm build
40
+ fi
41
- name: Update document
42
if: env.IS_RELEASE == 'true'
43
uses: peaceiris/actions-gh-pages@v4
0 commit comments