Skip to content

Commit 8dc9514

Browse files
[BREAKING] Merge pull request #67 from lenvm/feature/bump-node-version-to-20
Bump Node version to 20
2 parents c7e74b2 + 5ca63e3 commit 8dc9514

File tree

7 files changed

+2274
-25789
lines changed

7 files changed

+2274
-25789
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- name: Set Node.js 16.x
20+
- name: Set Node.js 20.x
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: 16.x
23+
node-version: 20.x
2424

2525
- name: npm install
2626
run: npm install

__tests__/main.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ import * as installer from "../src/installer";
1616

1717
// Inputs for mock @actions/core
1818
let inputs = {
19-
token: process.env.GITHUB_TOKEN || ""
19+
token: process.env.GITHUB_TOKEN || "",
2020
} as any;
2121

2222
describe("installer tests", () => {
23-
beforeEach(async function() {
23+
beforeEach(async function () {
2424
// Mock getInput
2525
jest.spyOn(core, "getInput").mockImplementation((name: string) => {
2626
return inputs[name];

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
required: false
1111
default: ${{ github.token }}
1212
runs:
13-
using: "node16"
13+
using: "node20"
1414
main: "dist/index.js"
1515
branding:
1616
icon: "box"

0 commit comments

Comments
 (0)