From 13de019d08f940917424c954498569320bcd663c Mon Sep 17 00:00:00 2001 From: q1anx1 <55543743+qianxi0410@users.noreply.github.com> Date: Thu, 11 Aug 2022 10:20:53 +0800 Subject: [PATCH] chore(ci): use cache to accelerate ci (#1004) * chore(ci): use cache to accelerate ci * chore: comment --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 46afbcc9..65f57bb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,10 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '14.17.0' + # cache + - uses: c-hive/gha-yarn-cache@v2 + with: + directory: ./web - run: yarn install && CI=false yarn run build working-directory: ./web