File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed
Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change 11name : Continuous Integration
22
33on :
4+ workflow_call :
45 push :
6+ branches-ignore :
7+ - main
58
69jobs :
710 lint :
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency :
9+ group : release
10+ cancel-in-progress : true
11+
12+ jobs :
13+ ci :
14+ uses : ./.github/workflows/continuous-integration.yml
15+
16+ release-npm :
17+ needs : ci
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ token : ${{ secrets.GH_BOT_TOKEN }}
24+ - uses : actions/download-artifact@v4
25+ with :
26+ name : master.sqlite
27+ path : dist
28+ - uses : shabados/actions/setup-git-identity@release/v3
29+ with :
30+ user : Shabad OS Bot
31+ email : team@shabados.com
32+ - uses : shabados/actions/bump-version@release/v3
33+ with :
34+ prerelease : true
35+ id : bump-version
36+ - uses : shabados/actions/publish-npm@release/v3
37+ with :
38+ github_token : ${{ secrets.GH_BOT_TOKEN }}
39+ npm_token : ${{ secrets.NPM_BOT_TOKEN }}
40+ - uses : shabados/actions/publish-github@release/v3
41+ with :
42+ github_token : ${{ secrets.GH_BOT_TOKEN }}
43+ release_version : ${{ steps.bump-version.outputs.next }}
44+ asset_paths : dist/*
You can’t perform that action at this time.
0 commit comments