Skip to content

Commit

Permalink
Merge pull request #32 from adyen-examples/30-e2e-action
Browse files Browse the repository at this point in the history
E2E GitHub action
  • Loading branch information
gcatanese authored Jan 16, 2024
2 parents 08aa94e + 7f660bd commit 86df3eb
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: E2E Testing

on:
workflow_dispatch:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
- .gitignore
- LICENSE
pull_request:
branches: [ main ]
paths-ignore:
- 'README.md'
- .gitignore
- LICENSE

jobs:
test:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
working-directory: ./e2e
run: npm ci
- name: Install chromium
working-directory: ./e2e
run: npx playwright install --with-deps chromium
- name: Run Playwright tests
working-directory: ./e2e
run: npx playwright test

0 comments on commit 86df3eb

Please sign in to comment.