-
Notifications
You must be signed in to change notification settings - Fork 468
Switch to trusted publishing #1368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,8 +6,6 @@ on: | |
| # e.g. "12.x" or "8.x" | ||
| - '[0-9]+.x' | ||
| - 'main' | ||
| - 'next' | ||
| - 'next-major' | ||
| - 'beta' | ||
| - 'alpha' | ||
| - '!all-contributors/**' | ||
|
|
@@ -29,7 +27,7 @@ jobs: | |
| # Otherwise we would not know if the problem is tied to the Node.js version | ||
| fail-fast: false | ||
| matrix: | ||
| node: [18, 20] | ||
| node: [18, 24] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: ⬇️ Checkout repo | ||
|
|
@@ -63,7 +61,9 @@ jobs: | |
| token: ${{ secrets.CODECOV_TOKEN }} # required | ||
|
|
||
| release: | ||
| environment: production | ||
| permissions: | ||
| id-token: write # Required for OIDC | ||
| contents: write # to create release tags (cycjimmy/semantic-release-action) | ||
| issues: write # to post release that resolves an issue | ||
|
|
||
|
|
@@ -79,7 +79,7 @@ jobs: | |
| - name: ⎔ Setup node | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 18 | ||
| node-version: 24 | ||
|
|
||
| - name: 📥 Download deps | ||
| uses: bahmutov/npm-install@v1 | ||
|
|
@@ -90,18 +90,15 @@ jobs: | |
| run: npm run build | ||
|
|
||
| - name: 🚀 Release | ||
| uses: cycjimmy/semantic-release-action@v2 | ||
| uses: cycjimmy/semantic-release-action@v5 | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only breaking changes are bumping used node version from 16 to 24 |
||
| with: | ||
| semantic_version: 17 | ||
| semantic_version: 25 | ||
|
Comment on lines
+93
to
+95
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| branches: | | ||
| [ | ||
| '+([0-9])?(.{+([0-9]),x}).x', | ||
| 'main', | ||
| 'next', | ||
| 'next-major', | ||
|
Comment on lines
-100
to
-101
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| {name: 'beta', prerelease: true}, | ||
| {name: 'alpha', prerelease: true} | ||
| ] | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
eps1lon marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So that we get newer NPM versions. Had to do the same to fix it for my own packages: eps1lon/codemod-missing-await-act@2619b41