Skip to content

Commit

Permalink
feat: generate changelog on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dianjuar committed Oct 29, 2024
1 parent 08a8240 commit a7a96e1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/enforce-semantic-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,17 @@ jobs:
PR_TITLE='${{ github.event.pull_request.title }}'
echo "PR TITLE": '$PR_TITLE'
echo "$PR_TITLE" | npx commitlint
generate-changelog:
name: Generate Changelog #? should we comment in the PR?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/setup

- name: Generate Changelog
run: |
git checkout -b changelog
npx nx version ngx-deploy-npm --dry-run
5 changes: 2 additions & 3 deletions packages/ngx-deploy-npm/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@
]
}
},
"deploy": {
"publish": {
"executor": "./dist/packages/ngx-deploy-npm:deploy",
"options": {
"distFolderPath": "dist/packages/ngx-deploy-npm",
"access": "public"
},
"dependsOn": ["build"]
},
"deploy:without-build": {
"publish:without-build": {
"executor": "./dist/packages/ngx-deploy-npm:deploy",
"options": {
"distFolderPath": "dist/packages/ngx-deploy-npm",
Expand All @@ -90,7 +90,6 @@
"version": {
"executor": "@jscutlery/semver:version",
"options": {
"postTargets": ["build", "deploy"],
"versionTagPrefix": "v"
}
}
Expand Down

0 comments on commit a7a96e1

Please sign in to comment.