From 85889c2cb9416c983bf7bf9962f6f7d1aa46f680 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Fri, 10 Sep 2021 12:54:29 +0530 Subject: [PATCH] fix: fix tests.yml --- .github/workflows/tests.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 79b625bab..92c5ad5ec 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,13 +21,12 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - - name: Cache .pnpm-store - uses: actions/cache@v1 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} - - name: Install pnpm - run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 - - name: Run tests - - run: cd packages/hoppscotch-app && pnpm ci - - run: pnpm test + - name: Cache .pnpm-store + uses: actions/cache@v1 + with: + path: ~/.pnpm-store + key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} + - name: Install pnpm + run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 + - name: Run tests + run: cd packages/hoppscotch-app && pnpm i && pnpm test \ No newline at end of file