Skip to content

Commit f35c188

Browse files
authored
ci(Node.js): change the default from version 20 to 24 (#23)
### Changed - refactor(deps): bump Node.js, actions/checkout, seablast/actions:linter
1 parent f2241b3 commit f35c188

7 files changed

Lines changed: 31 additions & 15 deletions

File tree

.github/dependabot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ updates:
1010
schedule:
1111
# Check for updates to GitHub Actions every month
1212
interval: "monthly"
13+
cooldown:
14+
default-days: 7

.github/workflows/polish-the-code.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ jobs:
2929
# Limit the running time
3030
timeout-minutes: 10
3131
steps:
32-
- uses: actions/checkout@v5
32+
- uses: actions/checkout@v6
3333
with:
34-
ref: ${{ github.event.pull_request.head.sha }} # checkout PR HEAD commit
35-
fetch-depth: 0 # required for merge-base check
34+
# checkout PR HEAD commit
35+
ref: ${{ github.event.pull_request.head.sha }}
36+
# required for merge-base check
37+
fetch-depth: 0
3638
persist-credentials: false
3739
- uses: commit-check/commit-check-action@v2
3840
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # use GITHUB_TOKEN because use of pr-comments
41+
# use GITHUB_TOKEN because use of pr-comments
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4043
with:
4144
message: true
4245
# to accept dependabot/github_actions/*
@@ -48,6 +51,6 @@ jobs:
4851

4952
super-linter:
5053
needs: commit-check
51-
uses: WorkOfStan/seablast-actions/.github/workflows/linter.yml@v0.2.7
54+
uses: WorkOfStan/seablast-actions/.github/workflows/linter.yml@v0.2.9
5255
with:
5356
runs-on: "ubuntu-latest"

.github/workflows/prettier-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
with:
2828
commit-changes: true
2929
#debug: true
30-
#node-version: "20"
30+
#node-version: "24"

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919

2020
### `Security` in case of vulnerabilities
2121

22+
## [1.1.7] - 2026-03-15
23+
24+
ci(Node.js): change the default from version 20 to 24
25+
26+
### Changed
27+
28+
- refactor(deps): bump Node.js, actions/checkout, seablast/actions:linter
29+
2230
## [1.1.6.2] - 2025-10-23
2331

2432
chore: make the commit message compliant with Conventional Commits
@@ -134,7 +142,8 @@ fix: pull request issues
134142

135143
- This GitHub Action automates Prettier formatting across your project, ensuring consistent code styling by creating a new branch for review when necessary. It simplifies integrating Prettier into your workflow, although updates to workflow YAML files in `.github/workflows/` must be done manually.
136144

137-
[Unreleased]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.6.2...HEAD
145+
[Unreleased]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.7...HEAD
146+
[1.1.7]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.6.2...v1.1.7?w=1
138147
[1.1.6.2]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.6.1...v1.1.6.2?w=1
139148
[1.1.6.1]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.6...v1.1.6.1?w=1
140149
[1.1.6]: https://github.com/WorkOfStan/prettier-fix/compare/v1.1.5...v1.1.6?w=1

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024-2025 WorkOfStan
3+
Copyright (c) 2024-2026 WorkOfStan
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ permissions:
3939
| `commit-changes` | If `true`, commits changes to the current branch instead of creating a new one | Boolean | `false` |
4040
| `commit-message` | Commit message for the changes | String | `"chore(prettier): apply Prettier fixes automatically"` |
4141
| `debug` | Enable extra debug output (list of branches). | Boolean | `false` |
42-
| `node-version` | Node.js version to use | String | `"20"` |
42+
| `node-version` | Node.js version to use | String | `"24"` |
4343
| `prettier-config-path` | Optional path to a custom Prettier config file | String | `""` |
4444
| `skip-package-setup` | If `true`, skips `npm init` and dependency installation steps | Boolean | `false` |
4545

action.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
node-version:
2828
description: "Node.js version to use"
2929
type: string
30-
default: "20"
30+
default: "24"
3131
prettier-config-path:
3232
description: "Optional path to a custom Prettier config file"
3333
type: string
@@ -40,22 +40,24 @@ inputs:
4040

4141
outputs:
4242
branch-name:
43-
description: "The branch where changes were committed"
43+
description: "The branch, where changes were committed"
4444
changed-files:
4545
description: "Comma-separated list of files changed by Prettier"
4646

4747
runs:
4848
using: "composite"
4949
steps:
5050
- name: Display version
51-
run: echo "prettier-fix::v1.1.6.2 running"
51+
run: echo "prettier-fix::v1.1.7 running"
5252
shell: bash
5353

5454
- name: Checkout code
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656
with:
57-
ref: ${{ github.ref }} # Fetch latest changes (even by previous job)
58-
fetch-depth: 0 # Fetch all history for all branches and tags. Otherwise github.event.pull_request.base.ref SHA isn't found.
57+
# Fetch latest changes (even by previous job)
58+
ref: ${{ github.ref }}
59+
# Fetch all history for all branches and tags. Otherwise github.event.pull_request.base.ref SHA isn't found.
60+
fetch-depth: 0
5961

6062
# Fetch latest changes (even by previous job)
6163
- name: Fetch latest changes

0 commit comments

Comments
 (0)