Skip to content

Commit

Permalink
hotfix(release): release process needs build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tvillaren committed Apr 10, 2024
1 parent 52ca419 commit 5914cbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: yarn
if: ${{ steps.release.outputs.release_created }}
- run: yarn build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit 5914cbb

Please sign in to comment.