Skip to content

Commit

Permalink
Merge pull request #7 from gentlementlegen/development
Browse files Browse the repository at this point in the history
fix: release please now uses the proper publishing token
  • Loading branch information
0x4007 authored Jul 2, 2024
2 parents 529c491 + ff1ef33 commit 369ac76
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.PAT_TOKEN }}
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: "20.10.0"
registry-url: https://registry.npmjs.org/
registry-url: "https://registry.npmjs.org"
if: ${{ steps.release.outputs.release_created }}
- run: |
yarn install --immutable --immutable-cache --check-cache
yarn install --immutable --immutable-cache --check-cache
yarn pack
if: ${{ steps.release.outputs.release_created }}
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 369ac76

Please sign in to comment.