File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,14 @@ inputs:
77 required : true
88 default : " 22"
99
10- pnpm-version :
11- description : " PNPM version"
12- required : false
13- default : " latest"
10+ pnpm-version :
11+ description : " PNPM version"
12+ required : false
13+ default : " latest"
14+
15+ npm-token :
16+ description : " NPM token"
17+ required : false
1418
1519runs :
1620 using : " composite"
2630 shell : bash
2731
2832 - name : Setup npmrc
29- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
33+ run : echo "//registry.npmjs.org/:_authToken=${{ inputs.npm-token }}" > .npmrc
3034 shell : bash
3135
3236 - name : Setup pnpm config
Original file line number Diff line number Diff line change 2121 uses : ./.github/actions/setup-pnpm
2222 with :
2323 node-version : 22
24+ npm-token : ${{ secrets.NPM_TOKEN }}
2425
2526 - name : Build Package
2627 run : pnpm run build
4445 uses : ./.github/actions/setup-pnpm
4546 with :
4647 node-version : 22
48+ npm-token : ${{ secrets.NPM_TOKEN }}
4749
4850 - name : Build Docs Package
4951 run : pnpm run docs:build
You can’t perform that action at this time.
0 commit comments