enable e2e tests in CI and add cleanup tasks #1593
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: Run Tests | |
env: | |
INDEXER_URL: ${{ secrets.INDEXER_URL }} | |
on: [pull_request] | |
jobs: | |
test-ci: | |
name: test | |
timeout-minutes: 20 | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
- run: npm install -g yarn && yarn | |
- run: npx playwright install --with-deps chromium | |
- run: yarn setup | |
- run: yarn build:freighter-api | |
- run: yarn build:extension | |
- run: yarn test:ci | |
- run: yarn test:e2e |