Skip to content

Commit

Permalink
ci: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
iamyoki committed Dec 16, 2021
1 parent 183cb73 commit b288bb2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- completed

jobs:
build:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
Expand All @@ -32,7 +32,7 @@ jobs:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: yarn semantic-release

failed:
on-failure:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- main
jobs:
build:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
7 changes: 6 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ const config = {
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
'@semantic-release/changelog',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
],
};

Expand Down

0 comments on commit b288bb2

Please sign in to comment.