Skip to content

Commit

Permalink
ci: create release and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Oct 12, 2024
1 parent 4a2e9c5 commit 7cfa9be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn ci

- name: Generate changelog
uses: orhun/git-cliff-action@v4
id: changelog
with:
args: --latest --strip header

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Github Release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.changelog.outputs.content }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "apigen-ts",
"version": "0.2.0",
"version": "1.0.0",
"license": "MIT",
"author": "vladkens <[email protected]>",
"repository": "vladkens/apigen-ts",
Expand Down

0 comments on commit 7cfa9be

Please sign in to comment.