fix(ci): added the missing at sign behind registry
Some checks failed
CI / build-and-publish (push) Failing after 38s
Some checks failed
CI / build-and-publish (push) Failing after 38s
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -61,9 +61,8 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
HOST="${GITHUB_SERVER_URL#https://}"
|
HOST="${GITHUB_SERVER_URL#https://}"
|
||||||
OWNER="${GITHUB_REPOSITORY_OWNER}"
|
OWNER="${GITHUB_REPOSITORY_OWNER}"
|
||||||
REGISTRY="${OWNER}:registry=https://${HOST}/api/packages/${OWNER}/npm"
|
|
||||||
|
|
||||||
npm config set ${REGISTRY}
|
npm config set @${OWNER}:registry=https://${HOST}/api/packages/${OWNER}/npm
|
||||||
npm config set -- "//${HOST}/api/packages/${OWNER}/npm/:_authToken" "${G_TOKEN}"
|
npm config set -- "//${HOST}/api/packages/${OWNER}/npm/:_authToken" "${G_TOKEN}"
|
||||||
|
|
||||||
npm publish --ignore-scripts
|
npm publish --ignore-scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user