File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CD
2+
3+ on :
4+ push :
5+ branches : [master]
6+ tags-ignore : ["**"]
7+
8+ jobs :
9+ release :
10+ if : ${{ ! startsWith(github.event.head_commit.message, 'chore(release)') }}
11+ permissions :
12+ contents : write
13+ issues : write
14+ pull-requests : write
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - uses : ruby/setup-ruby@v1
20+ with :
21+ ruby-version : 3.3
22+ bundler-cache : true
23+
24+ - uses : actions/setup-node@v4
25+ with :
26+ node-version : lts/*
27+
28+ - run : npm install
29+ - run : npx semantic-release
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ GEM_HOST_API_KEY : ${{ secrets.GEM_HOST_API_KEY }}
33+
34+ publish :
35+ needs : release
36+ uses : ./.github/workflows/publish.yml
37+ secrets :
38+ GH_PAT : ${{ secrets.GH_PAT }}
39+ BUILDER : ${{ secrets.BUILDER }}
You can’t perform that action at this time.
0 commit comments