Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
# e.g. "12.x" or "8.x"
- '[0-9]+.x'
- 'main'
- 'next'
- 'next-major'
- 'beta'
- 'alpha'
- '!all-contributors/**'
Expand All @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -79,7 +79,7 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 24
Copy link
Member Author

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


- name: 📥 Download deps
uses: bahmutov/npm-install@v1
Expand All @@ -90,18 +90,15 @@ jobs:
run: npm run build

- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v5
Copy link
Member Author

Choose a reason for hiding this comment

The 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
Copy link
Member Author

Choose a reason for hiding this comment

The 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
Copy link
Member Author

@eps1lon eps1lon Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

branches are currently not used and removing those patterns here simplifies the protection rules for the GH deploy environment

Image

{name: 'beta', prerelease: true},
{name: 'alpha', prerelease: true}
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}