diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf35c8685..0b797a200 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: # set up correct version of node - id: nvmrc run: echo ::set-output name=NODE_VERSION::$(cat ../../.nvmrc) - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: { node-version: '${{ steps.nvmrc.outputs.NODE_VERSION }}' } - run: yarn diff --git a/.github/workflows/lighthouse.yml b/.github/workflows/lighthouse.yml index 81f9dcd3b..4bb6fe981 100644 --- a/.github/workflows/lighthouse.yml +++ b/.github/workflows/lighthouse.yml @@ -14,7 +14,7 @@ jobs: # set up correct version of node - id: nvmrc run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc) - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: { node-version: '${{ steps.nvmrc.outputs.NODE_VERSION }}' } - name: Install dependencies