Skip to content

Commit

Permalink
fix(ci): run the version update script in the publish job of the js-a…
Browse files Browse the repository at this point in the history
…pi release workflow (biomejs#3494)
  • Loading branch information
leops authored Oct 26, 2022
1 parent bacc03c commit 24f4507
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release_js_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ jobs:
node-version: 14.x
registry-url: 'https://registry.npmjs.org'

- name: Set release infos
if: needs.build.outputs.prerelease == 'true'
run: node npm/js-api/scripts/update-nightly-version.mjs

- name: Publish npm package as latest
run: npm publish @rometools/js-api --tag latest --access public
if: needs.build.outputs.prerelease != 'true'
Expand Down

0 comments on commit 24f4507

Please sign in to comment.