Skip to content

Commit

Permalink
Use the right flag for release check
Browse files Browse the repository at this point in the history
  • Loading branch information
jmoseley committed Jan 7, 2025
1 parent fc0a697 commit 66d6106
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ jobs:

# The following steps only run when merging a release PR
- name: Checkout 🛬
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Setup Node ⚙️
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
uses: ./.github/actions/setup-node
with:
npm_token: ${{ secrets.NPM_TOKEN }}

- name: Build Packages 🏗️
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
run: |
pnpm install --frozen-lockfile
pnpm turbo run build
- name: Publish to NPM 🚀
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# NPM_CONFIG_PROVENANCE: "true" # Enable once the repo is public
Expand Down

0 comments on commit 66d6106

Please sign in to comment.