From 2c09c176d4a2da6ea4a1e04ca7dcac3fc87ef890 Mon Sep 17 00:00:00 2001 From: Po Chen Date: Sun, 11 Feb 2024 12:34:39 +1100 Subject: [PATCH] Update to Node 20 (#267) * Update action.yml * Update build.yml --- .github/workflows/build.yml | 6 +++--- action.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eaff221..342d443 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,15 +19,15 @@ jobs: - ubuntu-20.04 - ubuntu-22.04 nodejs: - - 16 + - 20 fail-fast: false steps: - name: Turn off auto-crlf run: git config --global core.autocrlf false - name: Checkout source codes - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.nodejs }} - name: Cache NPM diff --git a/action.yml b/action.yml index 87dabb8..5b7ee4a 100644 --- a/action.yml +++ b/action.yml @@ -26,6 +26,6 @@ inputs: required: false default: "fail" runs: - using: "node16" + using: "node20" main: "./dist/main.js" post: "./dist/post.js"