From 417bf71eae93630b5982fc762f70f4426500fce5 Mon Sep 17 00:00:00 2001 From: edlu77 Date: Tue, 13 Feb 2024 17:15:26 -0500 Subject: [PATCH] Update actions --- .github/actions/prepare-deploy/action.yml | 2 +- .github/actions/setup-node-js/action.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/prepare-deploy/action.yml b/.github/actions/prepare-deploy/action.yml index c93afada..ee53803c 100644 --- a/.github/actions/prepare-deploy/action.yml +++ b/.github/actions/prepare-deploy/action.yml @@ -36,7 +36,7 @@ runs: if: ${{ inputs.skip-node-js == 'false' }} uses: ./.github/actions/setup-node-js - name: Configure nx - uses: nrwl/nx-set-shas@v3 + uses: nrwl/nx-set-shas@v4 with: main-branch-name: ${{ inputs.main-branch-name }} diff --git a/.github/actions/setup-node-js/action.yml b/.github/actions/setup-node-js/action.yml index d7ba0fa4..72d5f969 100644 --- a/.github/actions/setup-node-js/action.yml +++ b/.github/actions/setup-node-js/action.yml @@ -5,28 +5,28 @@ inputs: node-version: description: Node.js version required: false - default: '16' + default: '20' runs: using: composite steps: - name: Use Node.js ${{ inputs.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} - name: Cache .npm - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + key: ${{ runner.os }}-node-${{ hashFiles('**/website/package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - name: Cache node_modules id: modules_cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ./node_modules - key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} + key: ${{ runner.os }}-modules-${{ hashFiles('**/website/package-lock.json') }} - name: Install dependencies shell: bash if: ${{ steps.modules_cache.outputs.cache-hit != 'true' }}