Skip to content

Commit

Permalink
chore: bump node to v20 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
gillesperrin committed Apr 17, 2024
1 parent 55533eb commit 30bcc60
Show file tree
Hide file tree
Showing 4 changed files with 1,209 additions and 4,427 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ branding:
icon: "chevron-right"
color: "gray-dark"
runs:
using: "node16"
using: "node20"
main: "index.js"
2 changes: 1 addition & 1 deletion lib/__tests__/lockVersion.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe("Check lockFile version", () => {

it("Should return undefined", () => {
const result = checkLockVersion({
lockfileVersion: 2,
lockfileVersion: 3,
});
expect(result).toBeUndefined();
});
Expand Down
2 changes: 1 addition & 1 deletion lib/checks/lockVersion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { FatalError } = require("../errors");

const expectedLockfileVersion = 2;
const expectedLockfileVersion = 3;

function checkLockVersion(lockFile) {
if (!lockFile) {
Expand Down

0 comments on commit 30bcc60

Please sign in to comment.