From 20e3c11f4f1a282cf0e005eacd96387de78ae444 Mon Sep 17 00:00:00 2001 From: CahidArda Date: Wed, 2 Oct 2024 19:41:02 +0300 Subject: [PATCH] fix: add working dir --- .github/workflows/tests.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 52c6405..da4a426 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -188,12 +188,13 @@ jobs: - name: Deploy run: | - pnpm --dir=examples/nextjs/chat-to-website add @upstash/rag-chat@${{needs.release.outputs.version}} + pnpm add @upstash/rag-chat@${{needs.release.outputs.version}} DEPLOYMENT_URL=$(npx vercel --token=${{ secrets.VERCEL_TOKEN }}) echo "DEPLOYMENT_URL=${DEPLOYMENT_URL}" >> $GITHUB_ENV env: VERCEL_ORG_ID: ${{secrets.VERCEL_TEAM_ID}} VERCEL_PROJECT_ID: "prj_lVGCSdQpf4Zne4tbDcaTbZNW6abq" + working-directory: examples/nextjs/chat-to-website - name: Test run: bun test examples/nextjs/chat-to-website/ci.test.ts