From 302cdaeb9626318487c21c0fa156adc7bce7f32b Mon Sep 17 00:00:00 2001 From: Peter Singh Date: Tue, 19 Mar 2024 20:12:26 +0000 Subject: [PATCH] chore: Upgrade to Node 20, remove deprecation warnings, upgrade CI deprecations (#537) * Use non-deprecated node runtime * Brucey bonus: Upgrade to non-deprecated checkout action (v2 -> v4) * Update yarn lockfile * Update dist * update dist * remove yarn lock --------- Co-authored-by: Adithya Kolla <71282729+KollaAdithya@users.noreply.github.com> Co-authored-by: Adithya --- .github/workflows/check.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/package.yml | 2 +- action.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5cf3bacad..4994c29e1 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run tests run: | npm ci diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 35b0c30e9..7fed2a721 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index c1ca059c4..bab9b2a71 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -13,7 +13,7 @@ jobs: contents: write steps: - name: Init a git repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Checkout PR env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/action.yml b/action.yml index 48e11ea12..e1f7db5b6 100644 --- a/action.yml +++ b/action.yml @@ -43,5 +43,5 @@ outputs: codedeploy-deployment-id: description: 'The deployment ID of the CodeDeploy deployment (if the ECS service uses the CODE_DEPLOY deployment controller' runs: - using: 'node16' + using: 'node20' main: 'dist/index.js'