File tree Expand file tree Collapse file tree 2 files changed +32
-2
lines changed
Expand file tree Collapse file tree 2 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Release PR
2+
13on :
24 push :
35 branches :
@@ -7,8 +9,6 @@ permissions:
79 contents : write
810 pull-requests : write
911
10- name : release-please
11-
1212jobs :
1313 release-please :
1414 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ pull_request :
5+ types : [closed]
6+ branches :
7+ - master
8+
9+ jobs :
10+ Release :
11+ name : 🚀 Release
12+ if : github.event.pull_request.merged && startsWith(github.head_ref, 'release-please--branches--main')
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ with :
17+ fetch-depth : 0
18+ - name : Setup Node
19+ uses : actions/setup-node@v3
20+ with :
21+ node-version : 18
22+ cache : " yarn"
23+
24+ - name : Install Dependencies
25+ run : yarn install --immutable
26+
27+ - name : Publish package
28+ run : npm publish
29+ env :
30+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments