chore(ci): use cache to accelerate ci (#1004)

* chore(ci): use cache to accelerate ci

* chore: comment
This commit is contained in:
q1anx1
2022-08-11 10:20:53 +08:00
committed by GitHub
parent 53ad454962
commit 13de019d08

View File

@ -35,6 +35,10 @@ jobs:
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
node-version: '14.17.0' node-version: '14.17.0'
# cache
- uses: c-hive/gha-yarn-cache@v2
with:
directory: ./web
- run: yarn install && CI=false yarn run build - run: yarn install && CI=false yarn run build
working-directory: ./web working-directory: ./web