From f7590143153adb2a29a8183dad9376a7553f7b0e Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Fri, 7 Oct 2022 22:20:05 +0530 Subject: [PATCH] fix: broken pr evaluation scripts --- .github/workflows/tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 23c80ffc8..fe3b6253e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,19 +15,25 @@ jobs: node-version: ["lts/*"] steps: - - uses: actions/checkout@v2 + - name: Checkout Repo + uses: actions/checkout@v2 + + - name: Setup Environment + run: mv packages/hoppscotch-app/.env.example packages/hoppscotch-app/.env + - uses: actions/setup-node@v2 + - name: Setup and run pnpm install uses: pnpm/action-setup@v2.2.2 - env: - VITE_BACKEND_GQL_URL: ${{ secrets.BACKEND_GQL_URL }} with: version: 7 run_install: true + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} cache: pnpm + - name: Run tests run: pnpm test