feat: rename probe status check operation #144
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: E2E | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
name: Run e2e tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install dependencies | |
run: | | |
: # Temp corepack fix: https://github.com/nodejs/corepack/issues/612 | |
corepack install -g [email protected] | |
corepack enable | |
pnpm install | |
- name: Install Playwright browsers | |
run: | | |
pnpm exec playwright install --with-deps chromium | |
- name: Generate env files | |
run: | | |
cp .env.e2e.example .env.e2e | |
cp .env.example .env | |
- name: Build docker compose | |
run: | | |
pnpm run test:e2e:build:directus | |
- name: Build dashboard repo | |
env: | |
CURRENT_BRANCH: ${{ github.head_ref || github.ref_name }} | |
run: | | |
pnpm run test:e2e:build:dash | |
- name: Run tests | |
run: | | |
pnpm run test:e2e:run |