Skip to content

Commit

Permalink
ci: fix semantic workflow (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored Jan 11, 2022
1 parent 922bc73 commit 23fb941
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,30 @@ jobs:
name: Semantic release
if: github.event_name != 'pull_request'

env:
node-version: 16

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Get all tags

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.node-version }}

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
with:
semantic_version: 17.3.7
semantic_version: 18
extra_plugins: |
@semantic-release/changelog
@semantic-release/changelog@6
semantic-release-github-pullrequest
- name: New release published
Expand Down

0 comments on commit 23fb941

Please sign in to comment.