mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[feedback] Add github action to run e2e test
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
name: Forget Feedback
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- forget-feedback/**
|
||||
pull_request:
|
||||
paths:
|
||||
- .github/workflows/**
|
||||
- forget-feedback/**
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
name: e2e
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: forget-feedback/testapp
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
- run: npm ci
|
||||
- run: npx playwright install
|
||||
- run: npm run test:e2e
|
||||
Reference in New Issue
Block a user