mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
30 lines
762 B
YAML
30 lines
762 B
YAML
name: E2E
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
env:
|
|
VITE_APPWRITE_ENDPOINT: http://appwrite.test/v1
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Start Appwrite instance
|
|
run: cd tests/fixtures && docker compose --env-file ./tests.env up -d
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 18
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- name: Prepare playwright
|
|
run: npx playwright install
|
|
- name: Unit Tests
|
|
run: npm run e2e
|