Skip to content

Commit

Permalink
Update how env variables are passed
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Nov 17, 2023
1 parent 642bba1 commit bacd8f7
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,11 @@ jobs:
with:
working-directory: tests
install-command: yarn
command: npm run e2e:run:ci
command: NETWORK_NAME=centrifuge RPC_URL=https://fullnode.development.cntrfg.com CHAIN_ID=2000 SYMBOL=DEVEL IS_TESTNET=true DEBUG=true CYPRESS_PRIVATE_KEY=${{secrets.CYPRESS_PRIVATE_KEY}} npm run e2e:run:ci
browser: chrome
config-file: synpress.config.js
ci-build-id: '${{ github.sha }}-${{ github.workflow }}-${{ github.event_name }}'
env:
CYPRESS_PRIVATE_KEY: ${{ secrets.CYPRESS_PRIVATE_KEY_WITH_FUNDS }}
CYPRESS_BASE_URL: https://app-dev.k-f.dev
CYPRESS_NETWORK_NAME: centrifuge
CYPRESS_RPC_URL: https://fullnode.development.cntrfg.com
CYPRESS_CHAIN_ID: 2000
CYPRESS_SYMBOL: DEVEL
CYPRESS_IS_TESTNET: true
CYPRESS_DEBUG: true
# pass the Cypress Cloud record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# pass GitHub token to allow accurately detecting a build vs a re-run build
Expand Down

0 comments on commit bacd8f7

Please sign in to comment.