Skip to content

Bump Node version to 20 #67

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set Node.js 16.x
- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 20.x

- name: npm install
run: npm install
4 changes: 2 additions & 2 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -16,11 +16,11 @@ import * as installer from "../src/installer";

// Inputs for mock @actions/core
let inputs = {
token: process.env.GITHUB_TOKEN || ""
token: process.env.GITHUB_TOKEN || "",
} as any;

describe("installer tests", () => {
beforeEach(async function() {
beforeEach(async function () {
// Mock getInput
jest.spyOn(core, "getInput").mockImplementation((name: string) => {
return inputs[name];
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ inputs:
required: false
default: ${{ github.token }}
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "box"
Loading