Skip to content

Commit 427a5cd

Browse files
docs(README): add registry (#927)
* docs(README): update nodejs to conform new npm release process * docs(README): revert releaserc yml changes * docs(README): update yml files to fix release * docs(README): add verbose to releaserc yml * docs(README): remove tokens in nodejs yml * docs(README): revert whoami changes * docs(README): update auth token mechanism * docs(README): upgrade lerna * docs(README): upgrade lerna * docs(README): exchange token * docs(README): exchange token * docs(README): remove git reset * docs(README): add registry * docs(README): add registry
1 parent 117dc0d commit 427a5cd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,15 @@ jobs:
6464
with:
6565
node-version: 20.x
6666
cache: 'yarn'
67-
registry-url: 'https://registry.npmjs.org'
6867

6968
- run: yarn install --frozen-lockfile
7069
- run: yarn build
70+
71+
# Configure npm for OIDC (without token-based .npmrc from setup-node)
72+
- name: Configure npm registry
73+
run: npm config set registry https://registry.npmjs.org
74+
7175
- run: yarn run semantic-release
7276
env:
7377
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74-
# npm publish handles OIDC automatically with id-token: write permission
78+
# npm publish uses OIDC automatically with id-token: write permission

0 commit comments

Comments
 (0)