From 5059f71109164fbf4dbd8577e2cf3e1c53bb8359 Mon Sep 17 00:00:00 2001 From: Liam Stevens <8955671+liamstevens111@users.noreply.github.com> Date: Wed, 8 Mar 2023 10:50:24 +0700 Subject: [PATCH] [#21] Fix artifact upload in workflow --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b8031e..93d1992 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,11 @@ name: Test on: pull_request +env: + REACT_APP_API_ENDPOINT: ${{ secrets.API_ENDPOINT }} + REACT_APP_API_CLIENT_ID: ${{ secrets.API_CLIENT_ID }} + REACT_APP_API_CLIENT_SECRET: ${{ secrets.API_CLIENT_SECRET }} + jobs: test: name: Run linters and tests @@ -34,7 +39,7 @@ jobs: run: npm run cypress - name: Upload any cypress failures - - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3 if: failure() with: name: cypress-output