File tree Expand file tree Collapse file tree 1 file changed +19
-26
lines changed Expand file tree Collapse file tree 1 file changed +19
-26
lines changed Original file line number Diff line number Diff line change @@ -3,40 +3,33 @@ name: Release SDK
33on :
44 push :
55 tags :
6- - " v*"
6+ - ' v*'
7+ workflow_dispatch :
78
8- env :
9- STORE_PATH : " "
9+ concurrency : ${{ github.workflow }}-${{ github.ref }}
1010
1111jobs :
12- release :
13- name : Release
14- runs-on : ubuntu-24.04
12+ publish :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
16+ id-token : write
1517 steps :
16- - name : Checkout
17- uses : actions/checkout@v5
18-
18+ - uses : actions/checkout@v5
1919 - uses : pnpm/action-setup@v4
20- name : Install pnpm
2120 with :
2221 run_install : false
23- package_json_file : ./apis/sdk/typescript/package.json
24-
25- - name : Install Node.js 24.x
26- uses : actions/setup-node@v5
22+ - uses : actions/setup-node@v5
2723 with :
28- node-version : 24.x
29- # registry-url required. Learn more at
30- # https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
31- registry-url : " https://registry.npmjs.org"
32-
33- - name : Install dependencies
24+ cache : pnpm
25+ node-version : latest
26+ registry-url : https://registry.npmjs.org
27+ - working-directory : apis/sdk/typescript
3428 run : pnpm install --frozen-lockfile
35-
36- - name : Packages build
29+ - working-directory : apis/sdk/typescript
3730 run : pnpm run build
38-
39- - name : Packages publish
40- run : pnpm run packages:publish
31+ - working-directory : apis/sdk/typescript
32+ run : pnpm publish -r --no-git-checks --access public
4133 env :
42- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
34+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
35+ NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments