Skip to content

Commit 3308b19

Browse files
committed
chore: bump node from 20 to 22
1 parent 77ecccf commit 3308b19

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ branding:
44
icon: "chevron-right"
55
color: "gray-dark"
66
runs:
7-
using: "node20"
7+
using: "node22"
88
main: "index.js"

lib/__tests__/lockVersion.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("Check lockFile version", () => {
1616

1717
it("Should return undefined", () => {
1818
const result = checkLockVersion({
19-
lockfileVersion: 3,
19+
lockfileVersion: 4,
2020
});
2121
expect(result).toBeUndefined();
2222
});

lib/checks/lockVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { FatalError } = require("../errors");
22

3-
const expectedLockfileVersion = 3;
3+
const expectedLockfileVersion = 4;
44

55
function checkLockVersion(lockFile) {
66
if (!lockFile) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mobsuccess-devops/github-actions-packagejsonlint",
33
"version": "1.0.0",
4-
"lockfileVersion": 3,
4+
"lockfileVersion": 4,
55
"requires": true,
66
"packages": {
77
"": {

0 commit comments

Comments
 (0)