Skip to content

Commit

Permalink
Empty commit to trigger rebuild
Browse files Browse the repository at this point in the history
Send secrets to process.env
Send .env to playwright config
  • Loading branch information
benmalcom committed Jun 22, 2024
1 parent 73d440e commit d89af65
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,20 @@ jobs:
# - name: Print server logs
# if: failure()
# run: cat ${{ github.workspace }}/server.log

- name: Install dependencies
run: |
cd ${{ github.workspace }}/packages/near-fast-auth-signer-e2e-tests
npm install -g yarn && yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps

- name: Send secrets to process.env
run: |
echo "ETH_PROVIDER_URL_TESTNET=${{ secrets.ETH_PROVIDER_URL_TESTNET }}" >> $GITHUB_ENV
echo "BNB_PROVIDER_URL_TESTNET=${{ secrets.BNB_PROVIDER_URL_TESTNET }}" >> $GITHUB_ENV
echo "BTC_PROVIDER_URL_TESTNET=${{ secrets.BTC_PROVIDER_URL_TESTNET }}" >> $GITHUB_ENV
- name: Run Playwright tests
env:
MAILTRAP_USER: ${{ secrets.MAILTRAP_USER }}
Expand Down

0 comments on commit d89af65

Please sign in to comment.