From be6fb6d9c59d5ec4b56542f2e8ad2516a99e3402 Mon Sep 17 00:00:00 2001 From: Bhavye Mathur Date: Thu, 19 Dec 2024 17:59:02 -0500 Subject: [PATCH] Updated to use Node20 (#24) * Updated to Node20 * Updated to use checkout@v4 and setup-node@v4 * Updated workflows to node-version '20.x' --- .github/workflows/lint.yml | 6 +++--- .github/workflows/update-dist.yml | 6 +++--- README.md | 4 ++-- action.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index eb79e8d..4a92806 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,9 +9,9 @@ jobs: name: Run linters runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '12.x' + node-version: '20.x' - run: npm install - run: npm run lint diff --git a/.github/workflows/update-dist.yml b/.github/workflows/update-dist.yml index bb7347e..f18ab49 100644 --- a/.github/workflows/update-dist.yml +++ b/.github/workflows/update-dist.yml @@ -7,10 +7,10 @@ jobs: name: Update dist file runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '12.x' + node-version: '20.x' - run: npm install - run: npm run dist - uses: ./ diff --git a/README.md b/README.md index 426cb12..d25e336 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ jobs: name: Update resources runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 - name: Fetch resources run: ./scripts/fetch-resources.sh diff --git a/action.yml b/action.yml index eb8ae6f..2e30687 100644 --- a/action.yml +++ b/action.yml @@ -41,7 +41,7 @@ inputs: required: false runs: - using: node16 + using: node20 main: dist/index.js branding: icon: git-commit