Skip to content

Commit 8c24d9a

Browse files
committed
chore: added dry run
1 parent 552ca72 commit 8c24d9a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ jobs:
107107
grep version package.json
108108
npm publish --no-git-checks --access public
109109
110+
- name: dry-publish
111+
if: ${{ ! startsWith(github.ref, 'refs/tags/js@v') }}
112+
working-directory: js
113+
env:
114+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
115+
run: |
116+
npm version 0.0.0-snap
117+
grep version package.json
118+
npm publish --no-git-checks --access public --dry-run
119+
110120
kotlin:
111121
runs-on: ['ubuntu-latest']
112122
steps:

0 commit comments

Comments
 (0)