From cb8280616f50acb21b623a837405f65bf61cdb6c Mon Sep 17 00:00:00 2001 From: Steven Chim <655241+chimurai@users.noreply.github.com> Date: Wed, 19 Jun 2024 08:07:29 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20upgrade=20github=20actions?= =?UTF-8?q?=20to=20v4=20(#661)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edbad41a..77042bfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,14 +6,14 @@ on: - master jobs: yarn-install: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - id: cache name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }} @@ -22,14 +22,14 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: yarn install build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [yarn-install] steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache node modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }} @@ -38,19 +38,19 @@ jobs: run: yarn build - name: Archive build artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dist path: dist test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [yarn-install] steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Restore node modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}