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