Skip to content

Commit 9e29a4f

Browse files
authored
update action core dependencies, drop Node 18 and 20 support (#96)
1 parent ef65c1a commit 9e29a4f

File tree

5 files changed

+201
-233
lines changed

5 files changed

+201
-233
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node: [18, 20, 22, 24]
9+
node: [22, 24]
1010
name: Testing on Node ${{ matrix.node }}
1111
steps:
1212
- name: '🚚 Checkout'

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@ jobs:
3737
```
3838
3939
> [!note]
40-
> For Node <18 support, you can change the action version tag in your workflow to `v0.11`, instead of using `main`:
40+
> For Node <22 support, you can change the action version tag in your workflow to `v0.12`:
41+
> ```yml
42+
> - name: Yarn Lock Changes
43+
> uses: Simek/yarn-lock-changes@v0.12
44+
> ```
45+
>
46+
> For Node <18 support, you can change the action version tag in your workflow to `v0.11`:
4147
> ```yml
4248
> - name: Yarn Lock Changes
4349
> uses: Simek/yarn-lock-changes@v0.11

dist/index.js

Lines changed: 50 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"name": "yarn-lock-changes",
3-
"version": "0.12.0",
3+
"version": "0.13.0",
44
"main": "dist/index.js",
55
"repository": "github:Simek/yarn-lock-changes",
66
"author": "Simek <me@simek.dev>",
77
"license": "MIT",
88
"scripts": {
9-
"build": "esbuild src/action.js --bundle --platform=node --target=node18 --minify --legal-comments=none --outfile=dist/index.js",
9+
"build": "esbuild src/action.js --bundle --platform=node --target=node22 --minify --legal-comments=none --outfile=dist/index.js",
1010
"lint": "eslint .",
1111
"optimize": "svgo -f ./assets",
1212
"test": "uvu tests -i .cjs -i testUtils"
1313
},
1414
"dependencies": {
15-
"@actions/core": "^2.0.2",
16-
"@actions/github": "^7.0.0",
15+
"@actions/core": "^3.0.0",
16+
"@actions/github": "^9.0.0",
1717
"js-base64": "^3.7.8",
1818
"markdown-table": "^3.0.4",
1919
"semver": "^7.7.3"
@@ -27,12 +27,12 @@
2727
"eslint-config-prettier": "^10.1.8",
2828
"eslint-plugin-n": "^17.23.2",
2929
"eslint-plugin-prettier": "^5.5.5",
30-
"globals": "^17.0.0",
30+
"globals": "^17.2.0",
3131
"prettier": "^3.8.1",
3232
"uvu": "^0.5.6"
3333
},
3434
"volta": {
35-
"node": "24.11.1",
35+
"node": "24.13.0",
3636
"yarn": "1.22.22"
3737
},
3838
"packageManager": "yarn@1.22.22"

0 commit comments

Comments
 (0)