diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1c1bf68..758589a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,2 @@ .release-please-manifest.json @eslint/eslint-tsc +.github/workflows/release-please.yml @eslint/eslint-tsc diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 165efb5..c60f656 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -2,6 +2,7 @@ on: push: branches: - main + name: release-please jobs: release-please: @@ -22,12 +23,15 @@ jobs: registry-url: https://registry.npmjs.org if: ${{ steps.release.outputs.release_created }} + # npm 11.5.1 or later is required so update to latest to be sure + - name: Update npm + run: npm install -g npm@latest + if: ${{ steps.release.outputs.release_created }} + - name: Publish to npm run: | npm install npm publish --provenance - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} if: ${{ steps.release.outputs.release_created }} - name: Publish to JSR