Skip to content

Commit 30bcc60

Browse files
authored
chore: bump node to v20 (#41)
1 parent 55533eb commit 30bcc60

File tree

4 files changed

+1209
-4427
lines changed

4 files changed

+1209
-4427
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: "node16"
7+
using: "node20"
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: 2,
19+
lockfileVersion: 3,
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 = 2;
3+
const expectedLockfileVersion = 3;
44

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

0 commit comments

Comments
 (0)