File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ with :
14+ fetch-depth : 0
15+
16+ - name : Install pnpm
17+ uses : pnpm/action-setup@v2
18+
19+ - name : Set node
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : 16.x
23+ cache : pnpm
24+ registry-url : " https://registry.npmjs.org"
25+
26+ - run : npx changelogithub
27+ continue-on-error : true
28+ env :
29+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
30+
31+ - name : Install Dependencies
32+ run : pnpm i
33+
34+ - name : PNPM build
35+ run : pnpm run build
36+
37+ - name : Publish to NPM
38+ run : pnpm -r publish --access public --no-git-checks
39+ env :
40+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments