From ab6a0fed5d99ffeac92a1e30347c087578016fc5 Mon Sep 17 00:00:00 2001 From: Chenfeng Bao Date: Wed, 20 May 2026 15:31:51 -0400 Subject: [PATCH] remove registry-url from Brightspace/setup-node --- .github/workflows/build.yaml | 1 - bin/do-release.sh | 2 +- packages/node_modules/brightspace-auth-assertions/package.json | 3 +++ .../brightspace-auth-keys-dynamodb-store/package.json | 3 +++ .../brightspace-auth-keys-redis-store/package.json | 3 +++ packages/node_modules/brightspace-auth-keys/package.json | 3 +++ .../node_modules/brightspace-auth-provisioning/package.json | 3 +++ packages/node_modules/brightspace-auth-token/package.json | 3 +++ packages/node_modules/brightspace-auth-validation/package.json | 3 +++ 9 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 004ad1c..bbadd6d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,7 +46,6 @@ jobs: - uses: Brightspace/setup-node@main with: node-version: 24 - registry-url: 'https://registry.npmjs.org' - run: npm install - run: ./bin/do-release.sh diff --git a/bin/do-release.sh b/bin/do-release.sh index 6282353..8ec6908 100755 --- a/bin/do-release.sh +++ b/bin/do-release.sh @@ -27,6 +27,6 @@ for package in $(get_packages); do if [ ! -z "${DRY_RUN}" ]; then echo "Dry run. Skipping..." else - npm publish --provenance --access public + npm publish --provenance --access public --registry https://registry.npmjs.org/ fi done diff --git a/packages/node_modules/brightspace-auth-assertions/package.json b/packages/node_modules/brightspace-auth-assertions/package.json index 3e39e41..d25d2c0 100644 --- a/packages/node_modules/brightspace-auth-assertions/package.json +++ b/packages/node_modules/brightspace-auth-assertions/package.json @@ -8,6 +8,9 @@ "LICENSE" ], "main": "src/index.js", + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "scripts": { "test": "nyc --all --exclude spec mocha --node-option enable-source-maps spec" } diff --git a/packages/node_modules/brightspace-auth-keys-dynamodb-store/package.json b/packages/node_modules/brightspace-auth-keys-dynamodb-store/package.json index 5565fae..e321e62 100644 --- a/packages/node_modules/brightspace-auth-keys-dynamodb-store/package.json +++ b/packages/node_modules/brightspace-auth-keys-dynamodb-store/package.json @@ -11,6 +11,9 @@ "README.md", "LICENSE" ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "peerDependencies": { "aws-sdk": "^2.179.0", "brightspace-auth-keys": "" diff --git a/packages/node_modules/brightspace-auth-keys-redis-store/package.json b/packages/node_modules/brightspace-auth-keys-redis-store/package.json index b879b08..7bb7068 100644 --- a/packages/node_modules/brightspace-auth-keys-redis-store/package.json +++ b/packages/node_modules/brightspace-auth-keys-redis-store/package.json @@ -7,6 +7,9 @@ "README.md", "LICENSE" ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "scripts": { "test": "nyc --all mocha --node-option enable-source-maps --recursive ./test" }, diff --git a/packages/node_modules/brightspace-auth-keys/package.json b/packages/node_modules/brightspace-auth-keys/package.json index bbfd934..beecd73 100644 --- a/packages/node_modules/brightspace-auth-keys/package.json +++ b/packages/node_modules/brightspace-auth-keys/package.json @@ -9,6 +9,9 @@ "LICENSE" ], "main": "src/index.js", + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "scripts": { "test": "nyc --all mocha --node-option enable-source-maps --recursive ./test" } diff --git a/packages/node_modules/brightspace-auth-provisioning/package.json b/packages/node_modules/brightspace-auth-provisioning/package.json index e440c2e..a8ab615 100644 --- a/packages/node_modules/brightspace-auth-provisioning/package.json +++ b/packages/node_modules/brightspace-auth-provisioning/package.json @@ -8,6 +8,9 @@ "LICENSE", "README.md" ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "scripts": { "test": "true" }, diff --git a/packages/node_modules/brightspace-auth-token/package.json b/packages/node_modules/brightspace-auth-token/package.json index f3ccf29..3fe1f69 100644 --- a/packages/node_modules/brightspace-auth-token/package.json +++ b/packages/node_modules/brightspace-auth-token/package.json @@ -7,6 +7,9 @@ "README.md", "LICENSE" ], + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "main": "src/index.js", "scripts": { "test": "nyc --all --exclude spec mocha --node-option enable-source-maps spec" diff --git a/packages/node_modules/brightspace-auth-validation/package.json b/packages/node_modules/brightspace-auth-validation/package.json index 15fa857..dd52a8c 100644 --- a/packages/node_modules/brightspace-auth-validation/package.json +++ b/packages/node_modules/brightspace-auth-validation/package.json @@ -8,6 +8,9 @@ "LICENSE" ], "main": "src/index.js", + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, "scripts": { "test": "nyc --all mocha --node-option enable-source-maps -R spec spec" }