File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,18 @@ jobs:
2121 contents : write
2222 id-token : write
2323 steps :
24- - name : Checkout
25- uses : actions/checkout@v5
26- - name : Use supported Node.js Version
27- uses : actions/setup-node@v4
28- with :
29- node-version : 22
30- - name : Restore cached dependencies
31- uses : actions/cache@v4
32- with :
33- path : ~/.pnpm-store
34- key : node-modules-${{ hashFiles('package.json') }}
35- - name : Setup pnpm
36- uses : pnpm/action-setup@v4
24+ - uses : actions/checkout@v5
25+ - uses : pnpm/action-setup@v4
3726 with :
3827 version : latest
39- - name : Authenticate with private NPM package
40- run : echo "//registry.npmjs.org/:_authToken=${{ secrets.PYTHON_NODE_NPM_TOKEN }}" > ~/.npmrc
41- - name : Install dependencies
42- run : pnpm install --frozen-lockfile
28+ - uses : actions/setup-node@v4
29+ with :
30+ node-version : 22
31+ registry-url : ' https://registry.npmjs.org'
32+ cache : pnpm
33+ - run : pnpm install --frozen-lockfile
34+ env :
35+ NODE_AUTH_TOKEN : ${{ secrets.PYTHON_NODE_NPM_TOKEN }}
4336 - name : Bump version and commit
4437 run : |
4538 pnpm version ${{ inputs.version }} --no-git-tag-version
You can’t perform that action at this time.
0 commit comments