Skip to content

Commit

Permalink
ci: fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
neumanf committed Aug 11, 2024
1 parent 23fd459 commit 0cf19a8
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm add -g semantic-release @semantic-release/git @semantic-release/github

- name: Release
run: pnpm exec semantic-release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
semantic_version: 17
extra_plugins: |
@semantic-release/changelog@5
@semantic-release/exec@5
@semantic-release/git@9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0cf19a8

Please sign in to comment.