Skip to content

Commit

Permalink
fixed npm-publish.yml [bump]
Browse files Browse the repository at this point in the history
  • Loading branch information
DuCanhGH committed Apr 22, 2023
1 parent 1ce7e1c commit f25e076
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
name: 🚀 Release packages
needs: [typecheck_lint_build]
runs-on: ${{ matrix.os }}
permissions:
id-token: write
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
Expand All @@ -46,7 +48,7 @@ jobs:
node-version: ["18.x"]
pnpm-version: ["7.x"]
os: [ubuntu-latest]
if: ${{ github.ref == 'refs/heads/master' && contains(github.event.head_commit.message, 'RELEASING') }}
if: ${{ github.ref == 'refs/heads/master' && (contains(github.event.head_commit.message, '[bump]') || contains(github.event.head_commit.message, 'RELEASING')) }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down

0 comments on commit f25e076

Please sign in to comment.