Skip to content

Commit b547488

Browse files
feat: ✨ added semantic release
1 parent 97c58cd commit b547488

File tree

6 files changed

+10669
-2266
lines changed

6 files changed

+10669
-2266
lines changed

.github/workflows/publish.yml

-27
This file was deleted.

.github/workflows/release.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Auto Release
1+
name: Semantic Release
22

33
on:
44
push:
@@ -9,7 +9,9 @@ jobs:
99
release:
1010
runs-on: ubuntu-latest
1111
permissions:
12-
contents: write
12+
contents: write
13+
issues: write
14+
pull-requests: write
1315
steps:
1416
- name: Checkout Repository
1517
uses: actions/checkout@v3
@@ -20,15 +22,10 @@ jobs:
2022
node-version: 18
2123

2224
- name: Install Dependencies
23-
run: npm i --ignore-scripts
25+
run: npm ci
2426

27+
- name: Run Semantic Release
28+
run: npx semantic-release
2529

26-
- name: Generate Changelog
27-
run: npx conventional-changelog -p angular -i CHANGELOG.md -s
28-
29-
- name: Create Release
30-
uses: softprops/action-gh-release@v1
31-
with:
32-
files: CHANGELOG.md
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
env:
31+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
.vscode
33
dist
44
node_modules
5-
CHANGELOG.md

0 commit comments

Comments
 (0)