Skip to content

Commit

Permalink
add workflow for e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrtqKr committed May 6, 2024
1 parent e26e01f commit afa5758
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: E2E Test
on:
pull_request:
paths:
- .github/workflows/e2e-test.yml
- src/**
- WebExample/**
merge_group:
branches:
- main
push:
branches:
- main
paths:
- .github/workflows/e2e-test.yml
- src/**
- WebExample/**

jobs:
e2e_test:
if: github.repository == 'Expensify/react-native-live-markdown'
runs-on: ubuntu-latest
concurrency:
group: e2e-test-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install node_modules
run: yarn install --immutable

- name: Run playwright tests
working-directory: WebExample
run: yarn test

0 comments on commit afa5758

Please sign in to comment.