File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-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,15 @@ 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+
39+ - name : Publish to npm
40+ run : npm publish --provenance
3641 if : ${{ steps.release.outputs.release_created }}
42+
3743 - run : ' npx @humanwhocodes/tweet "generator-eslint ${{ steps.release.outputs.tag_name }} has been released: ${{ steps.release.outputs.html_url }}"'
3844 if : ${{ steps.release.outputs.release_created }}
3945 env :
You can’t perform that action at this time.
0 commit comments