File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ .github /workflows /release-please.yml @ eslint/eslint-tsc
Original file line number Diff line number Diff line change 22 push :
33 branches :
44 - main
5+
56name : release-please
67jobs :
78 release-please :
@@ -30,10 +31,16 @@ jobs:
3031 node-version : lts/*
3132 registry-url : https://registry.npmjs.org
3233 if : ${{ steps.release.outputs.release_created }}
33- - run : npm publish --provenance
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
34+
35+ # npm 11.5.1 or later is required so update to latest to be sure
36+ - name : Update npm
37+ run : npm install -g npm@latest
38+ if : ${{ steps.release.outputs.release_created }}
39+
40+ - name : Publish to npm
41+ run : npm publish --provenance
3642 if : ${{ steps.release.outputs.release_created }}
43+
3744 - run : ' npx @humanwhocodes/tweet "eslint-transforms ${{ steps.release.outputs.tag_name }} has been released: ${{ steps.release.outputs.html_url }}"'
3845 if : ${{ steps.release.outputs.release_created }}
3946 env :
You can’t perform that action at this time.
0 commit comments