Skip to content

Commit 4375fbd

Browse files
authored
fix latest npm release tagging. (#3668)
1 parent e6d54ba commit 4375fbd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
- name: Set 'latest' NPM dist tag
4949
if: steps.changesets.outputs.published == 'true' && github.ref_name == vars.LATEST_STABLE_VERSION
5050
env:
51-
NPM_TOKEN: '' # Forces OIDC authentication
5251
PUBLISHED_PACKAGES: ${{ steps.changesets.outputs.publishedPackages }}
5352
run: |
53+
# Forces OIDC authentication for raw run commands
54+
echo "//registry.npmjs.org/:_authToken=" > ~/.npmrc
55+
5456
for pkg in $(echo "$PUBLISHED_PACKAGES" | jq -r '.[] | @base64'); do
5557
_jq() {
5658
echo ${pkg} | base64 --decode | jq -r ${1}

0 commit comments

Comments
 (0)