File tree 2 files changed +37
-0
lines changed
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ release :
10
+ runs-on : ubuntu-latest
11
+ if : " !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ token : ${{ secrets.GI_BOT_PAT }}
17
+
18
+ - name : Prepare repository
19
+ run : git fetch --unshallow --tags
20
+
21
+ - name : Setup Node
22
+ uses : actions/setup-node@v3
23
+ with :
24
+ node-version-file : ' .nvmrc'
25
+ cache : ' yarn'
26
+ registry-url : https://npm.pkg.github.com
27
+ scope : ' @tithely'
28
+
29
+ - name : Create Release
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33
+ run : |
34
+ yarn install --immutable
35
+ yarn build
36
+ npm publish
Original file line number Diff line number Diff line change
1
+ @tithely:registry = https://npm.pkg.github.com/
You can’t perform that action at this time.
0 commit comments