From f34e9a9adf92fc58c6b65a8a209012d7cb0e7215 Mon Sep 17 00:00:00 2001 From: Andy Wu Date: Thu, 28 Mar 2024 20:48:15 -0700 Subject: [PATCH] [fix] syntax issue --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9597b56..d33e07d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,8 @@ jobs: run: pnpm eslint . # Ensure you have a lint script in your package.json - - name: Set env + - name: Load Environment Variables + run: echo "Load environment variables" env: API_BASE_URL: ${{ vars.API_BASE_URL }} API_PREFIX: ${{ vars.API_PREFIX }} @@ -52,6 +53,10 @@ jobs: - name: Run Tests run: pnpm exec playwright test + env: + API_BASE_URL: ${{ vars.API_BASE_URL }} + API_PREFIX: ${{ vars.API_PREFIX }} + API_KEY: ${{ secrets.API_KEY }} # Ensure you have a test:integration script in your package.json for your API integration tests - name: Upload Test Results