[@tools-website] Home and faucet page UI fixes #659
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: End-to-end tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
end-to-end-tests: | |
name: ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: ['@kadena/tools'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
show-progress: false | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install browsers | |
run: pnpm --filter @kadena-dev/e2e-tests run install:chromium | |
- name: build dApp | |
run: pnpm --filter ${{ matrix.package }}... build #Usage of Turbo's Remote cache is disabled as below environment variables might not be set in the remote cache. | |
env: | |
# Dummy values for faucet transactions. | |
FAUCET_PUBLIC_KEY: 782127638ab9cc8fa8598ff0120464ceef6f367ddcd616b47afffbdb175dcc5e | |
FAUCET_PRIVATE_KEY: 93fd78bd1e79a3b593d4732b76050b418aeefa5e4e6ea80f351b4c3a5b0dd19f | |
- name: Run end-to-end tests | |
run: pnpm run test:e2e -- --project=${{ matrix.package }} | |
env: | |
CI: true | |
TESTOBJECT: ${{ matrix.package }} | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: packages/tools/e2e-tests/playwright-report/ | |
retention-days: 30 |