We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
publish-npm.js
1 parent c35e78c commit 540218cCopy full SHA for 540218c
scripts/github/publish-npm.js
@@ -1,7 +1,7 @@
1
#!/usr/bin/env node
2
import { execSync } from 'node:child_process';
3
4
-const { VALID_SEMVER_VERSION, NPM_TOKEN } = process.env;
+const { VALID_SEMVER_VERSION } = process.env;
5
const RELEASE = process.env.RELEASE === 'true';
6
const PRE_RELEASE = process.env.PRE_RELEASE === 'true';
7
@@ -80,7 +80,6 @@ for (const REGISTRY of registries) {
80
81
if (REGISTRY === 'NPM') {
82
execSync('npm config set @db-ux:registry https://registry.npmjs.org/');
83
- execSync(`npm set //registry.npmjs.org/:_authToken ${NPM_TOKEN}`);
84
console.log('🔑 Authenticated with NPM');
85
} else {
86
console.error(`Could not authenticate with ${REGISTRY}`);
0 commit comments