From 34537720ed5fe8ddaacae5f9c61596a6df6c9d86 Mon Sep 17 00:00:00 2001 From: Shayan Chakraborty <167475552+r7projects-shayan@users.noreply.github.com> Date: Sun, 2 Jun 2024 21:07:13 +0530 Subject: [PATCH] Update pr-tests.yml --- .github/workflows/pr-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 00e6c252..83a2bb44 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -26,21 +26,30 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Navigate to website directory + working-directory: ResourceHub/website + run: pwd + - name: Set up Node.js uses: actions/setup-node@v2 with: node-version: '14' + working-directory: ResourceHub/website - name: Install dependencies run: npm install + working-directory: ResourceHub/website - name: Run tests run: npm test + working-directory: ResourceHub/website - name: Install Vercel CLI run: npm install -g vercel + working-directory: ResourceHub/website - name: Deploy to Vercel env: VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: vercel --prod --confirm + working-directory: ResourceHub/website