diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2cb2feea..b7063984 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,10 +21,19 @@ jobs: with: node-version: 16.x registry-url: "https://registry.npmjs.org" + scope: "@standardnotes" - name: Enable Corepack (Yarn) run: corepack enable + - name: Verify npm auth + registry (debug E404) + shell: bash + run: | + node -v + npm -v + npm config get registry + npm whoami + - name: Setup git config run: | git config --global user.name "standardci" diff --git a/package.json b/package.json index 18ebb3db..802bc01e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "yarn workspaces foreach --verbose --interlaced -pt --topological-dev --jobs 10 run build", "clean": "lerna run clean", "release": "lerna version --conventional-commits --yes -m \"chore(release): publish\"", - "publish": "lerna publish from-git --yes --no-verify-access --loglevel verbose --ignore @standardnotes/markdown-basic --ignore @standardnotes/markdown-hybrid", + "publish": "lerna publish from-git --yes --no-verify-access --loglevel verbose --registry https://registry.npmjs.org", "version": "yarn install --no-immutable && git add yarn.lock", "postversion": "./scripts/push-tags-one-by-one.sh", "dev:reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install",