From 93e18d2704bf060be90a5f3952ad9f200ad30f9c Mon Sep 17 00:00:00 2001 From: hole-thu Date: Mon, 2 May 2022 16:04:31 +0800 Subject: [PATCH] add packages cache for github action --- .github/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a90816..b49cb9a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,8 +10,10 @@ jobs: runs-on: ubuntu-latest permissions: write-all steps: - - name: "Checkout" - uses: actions/checkout@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: 'yarn' - name: "Install Dependencies" run: yarn - name: Deploy with gh-pages