Skip to content

Commit ac3dc4e

Browse files
authored
chore: set registry in publish command (#59)
* chore: set registry url in publish command * chore: add logs
1 parent 51e5130 commit ac3dc4e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,19 @@ jobs:
2121
with:
2222
node-version: 16.x
2323
registry-url: "https://registry.npmjs.org"
24+
scope: "@standardnotes"
2425

2526
- name: Enable Corepack (Yarn)
2627
run: corepack enable
2728

29+
- name: Verify npm auth + registry (debug E404)
30+
shell: bash
31+
run: |
32+
node -v
33+
npm -v
34+
npm config get registry
35+
npm whoami
36+
2837
- name: Setup git config
2938
run: |
3039
git config --global user.name "standardci"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build": "yarn workspaces foreach --verbose --interlaced -pt --topological-dev --jobs 10 run build",
1717
"clean": "lerna run clean",
1818
"release": "lerna version --conventional-commits --yes -m \"chore(release): publish\"",
19-
"publish": "lerna publish from-git --yes --no-verify-access --loglevel verbose --ignore @standardnotes/markdown-basic --ignore @standardnotes/markdown-hybrid",
19+
"publish": "lerna publish from-git --yes --no-verify-access --loglevel verbose --registry https://registry.npmjs.org",
2020
"version": "yarn install --no-immutable && git add yarn.lock",
2121
"postversion": "./scripts/push-tags-one-by-one.sh",
2222
"dev:reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install",

0 commit comments

Comments
 (0)