From 9c04eaf94d281efcf0ad776ed1a9432035a9d219 Mon Sep 17 00:00:00 2001 From: throwaway96 <68320646+throwaway96@users.noreply.github.com> Date: Mon, 11 Dec 2023 22:35:50 -0500 Subject: [PATCH] update workflows Use Node.js v18, as v16 is EOL. Also update various actions. --- .github/workflows/main.yml | 6 +++--- .github/workflows/release.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8aabe91..e33410c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,16 +17,16 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [18] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 588afa1..7f73fca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - - name: Use Node.js 16.x - uses: actions/setup-node@v1 + - name: Use Node.js 18 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 18 - run: npm ci - run: npm run build -- --production