Skip to content

Commit

Permalink
fix(release): updated provenance setting
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Sep 4, 2023
1 parent 0844829 commit e178629
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ on:
branches:
- master

name: release-please
permissions:
contents: write
pull-requests: write
id-token: write

name: release
jobs:
release-please:
runs-on: ubuntu-latest
Expand All @@ -15,11 +20,11 @@ jobs:
package-name: imapflow
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
# The logic below handles the npm publication:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
# 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@v1
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
Expand Down

0 comments on commit e178629

Please sign in to comment.