From e55c967d7e4722b587d7d962cde765a6896e50e0 Mon Sep 17 00:00:00 2001 From: NishkarshRaj Date: Tue, 10 Oct 2023 16:31:26 +0530 Subject: [PATCH] Yarn Caching || adding naming for GOOIE Signed-off-by: NishkarshRaj --- .github/workflows/super-devsecops.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/super-devsecops.yml b/.github/workflows/super-devsecops.yml index 08b7a8d..cc2b9ec 100644 --- a/.github/workflows/super-devsecops.yml +++ b/.github/workflows/super-devsecops.yml @@ -19,8 +19,9 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: "npm" - - run: | + cache: "yarn" + - name: Install Dependencies + run: | yarn install test: runs-on: ubuntu-latest @@ -35,7 +36,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: "npm" - - run: | + cache: "yarn" + - name: Test with Jest + run: | yarn install yarn test