File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # .github/workflows/bump-version.yml
2+ name : Auto Bump Version
3+
4+ on :
5+ push :
6+ branches : [main] # or 'release/*' if you prefer
7+
8+ jobs :
9+ bump :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Setup Node.js
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : ' 18'
20+
21+ - name : PwaApp
22+ run : cd MyMusicClientSveltePwa
23+
24+ - name : Install dependencies
25+ run : npm ci
26+
27+ - name : Bump version
28+ run : npm version patch --no-git-tag-version
29+
30+ - name : Commit and push version bump
31+ run : |
32+ git config user.name "github-actions[bot]"
33+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
34+ git add package.json package-lock.json
35+ git commit -m "chore: bump version"
36+ git push
You can’t perform that action at this time.
0 commit comments