diff --git a/.github/setup/action.yml b/.github/setup/action.yml index 5dacb4af..8323dd6e 100644 --- a/.github/setup/action.yml +++ b/.github/setup/action.yml @@ -6,6 +6,7 @@ runs: - uses: actions/setup-node@v4 with: node-version: 20.x + registry-url: 'https://registry.npmjs.org' - name: Setup pnpm uses: pnpm/action-setup@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6f28ca07..71f61810 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,7 @@ env: permissions: contents: write pull-requests: write + id-token: write jobs: release: @@ -33,5 +34,5 @@ jobs: publish: pnpm changeset publish env: GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - \ No newline at end of file + # Trusted Publishing (OIDC) is configured - no NPM_TOKEN needed + \ No newline at end of file