Skip to content

Commit c438277

Browse files
committed
ci(ci): 💚 Updated workflows
1 parent f69d890 commit c438277

File tree

2 files changed

+43
-6
lines changed

2 files changed

+43
-6
lines changed
Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
name: Publish package
1+
name: ci
2+
23
on:
3-
release:
4-
types: [created]
5-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
67

78
jobs:
8-
build:
9+
ci:
910
runs-on: ubuntu-latest
11+
1012
steps:
1113
- uses: actions/checkout@v3
1214
- uses: pnpm/action-setup@v2
@@ -20,6 +22,16 @@ jobs:
2022
- run: pnpm install
2123
- name: Build
2224
run: pnpm run build
23-
- run: pnpm publish
25+
- name: Run tests
26+
run: pnpm run test
27+
- name: Bump version
28+
run: pnpm run bump
29+
- uses: stefanzweifel/git-auto-commit-action@v4
30+
with:
31+
commit_message: "ci(package-json): :bookmark: Bumped version"
32+
commit_user_email: [email protected]
33+
branch: main
34+
- name: Publish package
35+
run: pnpm publish
2436
env:
2537
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
## v0.5.1
3+
4+
5+
### 🚀 Enhancements
6+
7+
- **init:** 🎉 Initial commit (dc51266)
8+
9+
### 📖 Documentation
10+
11+
- **readme:** 📝 Updated docs link (5c909cf)
12+
- **readme:** 📝 Updated docs link (53bfc24)
13+
14+
### 📦 Build
15+
16+
- **build:** 💚 Added unbuild as build system (eb64311)
17+
18+
### 🏡 Chore
19+
20+
- **gitignore:** 🔧 Updated gitignore (b519647)
21+
22+
### ❤️ Contributors
23+
24+
- Jan-Henrik Damaschke <[email protected]>
25+

0 commit comments

Comments
 (0)