We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbe8ee commit 462985bCopy full SHA for 462985b
.github/workflows/publish.yml
@@ -35,10 +35,20 @@ jobs:
35
run: yarn install --immutable
36
- name: Build packages
37
run: yarn build
38
+ - name: Prepare npmrc for OIDC
39
+ run: |
40
+ echo "@reflag:registry=https://registry.npmjs.org/" > "${RUNNER_TEMP}/.npmrc"
41
+ - name: Debug npm auth (non-fatal)
42
43
+ npm --version
44
+ npm config get userconfig
45
+ npm config get registry
46
+ npm whoami --registry https://registry.npmjs.org || true
47
- name: Publish
48
run: yarn lerna publish from-package --no-private --yes
49
env:
50
NODE_AUTH_TOKEN: ""
51
+ NPM_CONFIG_USERCONFIG: "${{ runner.temp }}/.npmrc"
52
NPM_CONFIG_PROVENANCE: "true"
53
NPM_CONFIG_ACCESS: "public"
54
- name: Build docs
0 commit comments