diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 3454311..d47627e 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,7 +6,7 @@ jobs: name: Install and publish runs-on: ubuntu-latest permissions: - id-token: write + id-token: write # Required for OIDC contents: write # allows this workflow to commit to the repo steps: - name: Checkout @@ -24,6 +24,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 'lts/*' + registry-url: 'https://registry.npmjs.org' - name: Enable Corepack and Use Correct Yarn Version run: | @@ -68,9 +69,6 @@ jobs: - name: Build lib run: yarn prepare - - name: Authenticate with registry - run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_AUTOMATION_TOKEN }} - - name: Publish run: | chmod +x ./scripts/add_build_number.sh