Skip to content

Commit

Permalink
ci: define token for release please action and update checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
daenub committed Jul 24, 2024
1 parent 66e4676 commit b70a4f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
package-name: "@statistikzh/leu"
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
# The logic below handles the npm publication:
- uses: actions/checkout@v4
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
Expand Down

0 comments on commit b70a4f1

Please sign in to comment.