From de6e91075f39cdb707135509e8bce2ff5d7a198c Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 27 May 2022 14:51:19 +0530 Subject: [PATCH] cache --- .github/workflows/cypress.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 4d377f9d..87da4575 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -18,16 +18,16 @@ jobs: - name: Checkout uses: actions/checkout@v3 - # - uses: actions/cache@v3 - # id: yarn-and-build-cache - # with: - # path: | - # ~/.cache/Cypress - # build - # node_modules - # key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }} - # restore-keys: | - # ${{ runner.os }}-node_modules-build- + - uses: actions/cache@v3 + id: yarn-and-build-cache + with: + path: | + ~/.cache/Cypress + build + node_modules + key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-node_modules-build- - run: chown -R 1001:1001 /github/home/.cache && echo "pwn dat cache"