Skip to content

Commit

Permalink
Jia/_/remove auto changelog (#415)
Browse files Browse the repository at this point in the history
* chore: remove auto changlog

* chore: remove auto changlog

* chore: remove auto changlog

* chore: remove auto changlog
  • Loading branch information
jia-deriv authored Sep 3, 2024
1 parent f7c1c8c commit 98cb891
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/publish_npm_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches: [master]

permissions:
contents: read # for checkout

jobs:
release:
name: Release
Expand Down Expand Up @@ -35,8 +38,9 @@ jobs:
- name: Run tests and generate coverage report
run: npm run test:report
- name: Release
if: success()
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN}}
run: npx semantic-release
run: npx semantic-release
Empty file removed CHANGELOG.md
Empty file.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
"@deriv-com/quill-tokens": "^2.0.10",
"@deriv/quill-icons": "^1.22.10",
"@headlessui/react": "1.7.18",
"@semantic-release/git": "^10.0.1",
"dayjs": "^1.11.11",
"react-calendar": "^5.0.0",
"react-number-format": "^5.4.0",
Expand Down
8 changes: 0 additions & 8 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ module.exports = {
npmPublish: true,
},
],
[
"@semantic-release/git",
{
assets: ["package.json", "package-lock.json", "CHANGELOG.md"],
message:
"ci: release(version): Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
],
"@semantic-release/github",
],
};

0 comments on commit 98cb891

Please sign in to comment.