From fb2e3ea963e6030f86f0183a012d53d20aec3f3f Mon Sep 17 00:00:00 2001 From: Tim Gent Date: Fri, 2 May 2025 17:28:27 +0100 Subject: [PATCH] Fix publishing to GH packages in CI The issue was that package.json specified the access as public, which is not the case for our private GH packages --- .github/workflows/release-package.yml | 2 +- package.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 6645933..dba5ccc 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -45,7 +45,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: yarn changeset publish + publish: yarn changeset publish --access public env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index d2895f4..3440df9 100644 --- a/package.json +++ b/package.json @@ -38,10 +38,6 @@ }, "homepage": "https://github.com/Multiverse-io/cari#readme", "packageManager": "yarn@4.7.0", - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "access": "public" - }, "dependencies": { "@inquirer/prompts": "^7.4.0", "chalk": "^5.4.1",