Skip to content

Commit

Permalink
chore: CI configuration with semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
becaaye committed Nov 21, 2023
1 parent 1b068ea commit c1c7731
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- run: rm -rf node_modules
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"csv-parser": "^3.0.0"
},
"devDependencies": {
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.3",
"@types/jest": "^29.5.7",
Expand Down
7 changes: 4 additions & 3 deletions release.config.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const config = {
branches: ['main'],
branches: ["main"],
plugins: [
'@semantic-release/release-notes-generator',
"@semantic-release/commit-analyser",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
[
Expand All @@ -14,4 +15,4 @@ const config = {
]
};

module.exports = config;
module.exports = config;

0 comments on commit c1c7731

Please sign in to comment.