Skip to content
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

Bump minimum supported node version to v20 #73

Merged
merged 13 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setting up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
Expand All @@ -53,7 +53,7 @@ jobs:
core.setFailed('Actual and expected output doesnt match')

- name: Add status check
uses: LouisBrunner/checks-action@v1.6.2
uses: LouisBrunner/checks-action@v2.0.0
if: always()
with:
sha: ${{ github.sha }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Test
on:
pull_request:
types: [opened, reopened]
branches-ignore:
- 'dependabot-updates'
push:
Expand All @@ -14,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: [14, 16, 18, 20]
node: [20, 22, 24]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repo
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/verify-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Verify build
on:
pull_request:
types: [opened, reopened]
branches-ignore:
- 'dependabot-updates'
push:
Expand All @@ -23,7 +24,7 @@ jobs:
- name: Setting up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ inputs:
required: true

runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"prettier": "3.1.1",
"prettier": "3.2.4",
"typescript": "5.3.3",
"vitest": "1.1.3"
"vitest": "1.2.1"
}
}
81 changes: 34 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- The action supports creating release tags based on the template given to the action. Refer to the [Templating System](https://github.com/amitsingh-007/next-release-tag#templating-system) section for more information.
- To use this action, there must be a release tag in the repository, and the latest tag must follow the given template. The latest tag can be a pre-release, a full release or a dangling tag.
- This action is recommended to be used with `actions/create-release` to create the release.
- The minimum supported Node.js version is v14.
- The minimum supported Node.js version is v20.

## Inputs

Expand Down
Loading