Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ilijaNL committed Mar 16, 2023
1 parent 51b2b80 commit 3297bbc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,15 @@ jobs:
runs-on: ubuntu-latest
needs: [build, changelog]
environment: npm
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # necessary for correct CHANGELOGS
- name: Set up node
uses: actions/setup-node@v3
Expand All @@ -73,6 +77,6 @@ jobs:
name: build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release

0 comments on commit 3297bbc

Please sign in to comment.