Skip to content

Commit 5a40d97

Browse files
committed
More CI fixes...
1 parent 1860977 commit 5a40d97

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

.github/workflows/publish_release.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)