From e2fc049d63498ad898261f5a235aed2964529cff Mon Sep 17 00:00:00 2001 From: Jaden Sterner <92942612+jsterner30@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:41:06 -0700 Subject: [PATCH] fix: update deploy node version and update GHA modules to versions that use node > 16 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/deploy.yml | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52a49c1..735358c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: types: [ opened, reopened, synchronize, edited ] env: - node_version: "14" + node_version: "20" jobs: test: @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v2.1.4 + uses: actions/setup-node@v4 with: node-version: ${{ env.node_version }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 96f5bf6..5bcb774 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 @@ -48,11 +48,11 @@ jobs: # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. - + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs # queries: security-extended,security-and-quality - + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild @@ -61,7 +61,7 @@ jobs: # ℹī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - # If the Autobuild fails above, remove it and uncomment the following three lines. + # If the Autobuild fails above, remove it and uncomment the following three lines. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. # - run: | diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2156b02..8e05f16 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,7 +5,7 @@ on: branches: [master] env: - node_version: "14" + node_version: "20" jobs: publish: @@ -21,7 +21,7 @@ jobs: token: ${{ github.token }} - name: Set up Node.js - uses: actions/setup-node@v2.1.4 + uses: actions/setup-node@v4 with: node-version: ${{ env.node_version }} registry-url: https://npm.pkg.github.com @@ -39,7 +39,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up Node.js - uses: actions/setup-node@v2.1.4 + uses: actions/setup-node@v4 with: node-version: ${{ env.node_version }} registry-url: https://registry.npmjs.org