Skip to content

Commit

Permalink
fix: use semantic release action
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Oct 16, 2024
1 parent 85c01fd commit 171bbeb
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
persist-credentials: false
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
node-version: "lts/*"
- name: Install additional semantic-release plugins
run:
npm i --save=false semantic-release @socialgouv/releaserc
@semantic-release/changelog @semantic-release/git
@semantic-release/npm
- name: Release
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
@semantic-release/npm
extends: |
@socialgouv/releaserc
env:
GITHUB_TOKEN: ${{ secrets.FINE_GRAIN_TOKEN_TEST }}
run: npx semantic-release --extends @socialgouv/releaserc

0 comments on commit 171bbeb

Please sign in to comment.