From b1b94badd7b6611c01e1a67c087878f5e1e601e2 Mon Sep 17 00:00:00 2001 From: Matias Poblete Date: Thu, 6 Jun 2024 13:55:44 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8FAdd=20en?= =?UTF-8?q?v=20vars=20to=20ci=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/run-tests.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 537a9353..5d31d3f7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,12 +1,16 @@ name: Run tests +env: + NEXT_PUBLIC_SOROSWAP_BACKEND_API_KEY: ${{secrets.NEXT_PUBLIC_SOROSWAP_BACKEND_API_KEY}} + NEXT_PUBLIC_SOROSWAP_BACKEND_URL: ${{secrets.NEXT_PUBLIC_SOROSWAP_BACKEND_URL}} + on: push permissions: contents: write pull-requests: write issues: read packages: none - + jobs: run-tests: runs-on: ubuntu-latest @@ -28,7 +32,7 @@ jobs: run: yarn build - name: Run app - run: yarn pm2 start next + run: yarn pm2 start next ${{secrets.GITHUB_TOKEN}} - name: Run test run: yarn cy:run