Skip to content

Commit

Permalink
👷‍♂️Add env vars to ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MattPoblete committed Jun 6, 2024
1 parent cdbe4e2 commit b1b94ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit b1b94ba

Please sign in to comment.