From 467f9209840227c78edcde9ab61011c5eb4486a5 Mon Sep 17 00:00:00 2001 From: puckey Date: Wed, 31 Jan 2024 14:33:41 +0100 Subject: [PATCH] Fix workflows --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40345de..e1c37c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,17 +17,17 @@ jobs: name: Run test & lint runs-on: Ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '16.x' - - uses: actions/cache@v2 + node-version: '18.x' + - uses: actions/cache@v4 id: yarn-cache with: path: | node_modules */*/node_modules - key: ${{ runner.os }}-install-${{ hashFiles('**/yarn.lock') }} + key: node18-${{ runner.os }}-install-${{ hashFiles('**/yarn.lock') }} - run: yarn install if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}