From 869f0c98aae2ff7e99b3786ad14607b92719b8ae Mon Sep 17 00:00:00 2001 From: Thomas Plumpton Date: Sat, 7 Feb 2026 17:01:52 +0000 Subject: [PATCH] chore(ci): removing NPM_TOKEN references for trusted publishing --- .github/workflows/release.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab4c111..31d76b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -169,11 +169,6 @@ jobs: steps: - uses: actions/checkout@v6 - - name: Authenticate with NPM - run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Get package version id: package_version run: echo "VERSION=$(jq -r .version packages/library/package.json)" >> $GITHUB_ENV @@ -195,6 +190,4 @@ jobs: - name: Publish to NPM if: env.VERSION_EXISTS == 'false' - run: npm publish --workspace=@tomplum/react-git-log --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + run: npm publish --workspace=@tomplum/react-git-log --access public \ No newline at end of file