From e6dc2ca4b6b373a2db73b3ad09cc32d525ea2588 Mon Sep 17 00:00:00 2001 From: sho-he Date: Wed, 7 Feb 2024 12:29:50 +0900 Subject: [PATCH 1/3] Bump up node version to 20 because node v16 will be deprecated --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 746c07e..cc87d37 100644 --- a/action.yml +++ b/action.yml @@ -41,5 +41,5 @@ inputs: description: 'Changes the API base URL for a GitHub Enterprise server.' required: false runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' From 824e8d38a5e83c9b084ef2a3d3b903bfce7a6b58 Mon Sep 17 00:00:00 2001 From: sho-he Date: Wed, 7 Feb 2024 13:05:06 +0900 Subject: [PATCH 2/3] Bump up setup-node version because node v16 will be deprecated --- .github/workflows/check-dist.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 9ca6a7f..35eb85c 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -23,10 +23,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set Node.js 16.x - uses: actions/setup-node@v2.5.1 + - name: Set Node.js 20.x + uses: actions/setup-node@v4.0.1 with: - node-version: 16.x + node-version: 20.x - name: Install dependencies run: npm ci From f8426044ffb2883f2a0003b9f2cb565ecbd842ea Mon Sep 17 00:00:00 2001 From: sho-he Date: Sat, 17 Feb 2024 21:07:45 +0900 Subject: [PATCH 3/3] Bump up actions/checkout v4 to maintain safety --- .github/workflows/check-dist.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/test.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 35eb85c..43ebe85 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set Node.js 20.x uses: actions/setup-node@v4.0.1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index bc7a93e..a379f1b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74e6500..322f773 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: build: # make sure build/ci work properly runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: | npm install - run: | @@ -18,7 +18,7 @@ jobs: test: # make sure the action works on a clean machine without building runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: chrnorm/deployment-action@v2 name: Create GitHub deployment