Skip to content

Commit

Permalink
feat: when pr, e2e test github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Sep 19, 2023
1 parent 8646e82 commit f3d6e4b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/e2eTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: E2E Tests - Playwright
on:
pull_request:
branches: [main, master]
jobs:
tests:
timeout-minutes: 600
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/view
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.16.0

- name: Install dependencies
run: npm i

- name: Install global Playwright
run: npm global add playwright

- name: npx playwright install
run: npx playwright install

- name: Run Playwright tests
run: npm test:e2e

0 comments on commit f3d6e4b

Please sign in to comment.