Skip to content

Commit

Permalink
fix(ci): update release action
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeLLLa committed Apr 14, 2023
1 parent 68f2dc9 commit 22b763e
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ jobs:
name: Release
runs-on: ubuntu-latest
needs: verify
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -88,16 +93,7 @@ jobs:
- name: Build
run: pnpm build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
with:
extra_plugins: |
@semantic-release/changelog
@semantic-release/commit-analyzer
@semantic-release/exec
@semantic-release/git
@semantic-release/github
@semantic-release/npm
@semantic-release/release-notes-generator
run: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 22b763e

Please sign in to comment.