File tree Expand file tree Collapse file tree 1 file changed +6
-34
lines changed
Expand file tree Collapse file tree 1 file changed +6
-34
lines changed Original file line number Diff line number Diff line change 11name : Release
22
3- permissions :
4- contents : write
5- id-token : write
6-
73on :
84 push :
95 tags :
106 - ' v*'
117
128jobs :
139 release :
14- runs-on : ubuntu-latest
15- steps :
16- - uses : actions/checkout@v4
17- with :
18- fetch-depth : 0
19-
20- - uses : pnpm/action-setup@v4.1.0
21- name : Install pnpm
22-
23- - uses : actions/setup-node@v4
24- with :
25- node-version : lts/*
26- cache : pnpm
27- registry-url : https://registry.npmjs.org
28-
29- - name : Install dependencies
30- run : pnpm install
31-
32- - run : npx changelogithub
33- env :
34- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35-
36- - name : Build
37- run : pnpm build
38-
39- - name : Publish to NPM
40- run : pnpm publish --access public --no-git-checks
41- env :
42- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
43- NPM_CONFIG_PROVENANCE : true
10+ uses : sxzz/workflows/.github/workflows/release.yml@v1
11+ with :
12+ publish : true
13+ permissions :
14+ contents : write
15+ id-token : write
You can’t perform that action at this time.
0 commit comments