From 3f4105d9af3d442b8723f219de899d9e0db5449f Mon Sep 17 00:00:00 2001 From: Andrew Taylor Date: Sat, 27 Jan 2024 15:48:30 -0800 Subject: [PATCH] Node 20 --- .github/workflows/nodejs.yml | 12 +++++++----- action.yml | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f4e4fca..142a969 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,6 +5,7 @@ on: branches: - master - v2 + - v3 pull_request: jobs: @@ -12,12 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup NodeJS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 - cache: 'npm' + node-version: 20 + cache: npm - name: Install Node Dependencies run: npm ci env: @@ -34,10 +35,11 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" report-json: "eslint_report.json" - name: Upload ESLint report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: eslint_report.json path: eslint_report.json + retention-days: 7 - name: Test That The Project Builds run: npm run build - name: Run Unit Tests diff --git a/action.yml b/action.yml index ea8a28c..f4dab1d 100644 --- a/action.yml +++ b/action.yml @@ -30,7 +30,7 @@ inputs: default: 'false' required: false runs: - using: "node16" + using: "node20" main: "dist/index.js" branding: icon: "check-circle"