diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index da1744d..cb5f9cb 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,6 +6,9 @@ on: release: types: [created] +permissions: + id-token: write + jobs: sanity-checks: name: Prerelease sanity checks @@ -14,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '24' - name: Ensure kibble-npm package version matches the tag env: WORKFLOW_REF: ${{github.ref_name}} @@ -92,7 +95,7 @@ jobs: uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '24' registry-url: "https://registry.npmjs.org" - name: Install deps working-directory: kibble-npm @@ -100,8 +103,6 @@ jobs: - name: Publish wrapper package to npm working-directory: kibble-npm run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} publish-staging-builder: name: Publish staging builder needs: publish-npm