File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -274,6 +274,30 @@ jobs:
274
274
${{ github.workspace }}/packages/**/*.tgz
275
275
${{ github.workspace }}/packages/serverless/dist-awslambda-layer/*.zip
276
276
277
+ job_playwright_test :
278
+ name : Playwright E2E Tests
279
+ needs : job_build
280
+ runs-on : ubuntu-latest
281
+ steps :
282
+ - name : Check out current commit (${{ github.sha }})
283
+ uses : actions/checkout@v2
284
+ - name : Set up Node
285
+ uses : actions/setup-node@v1
286
+ - name : Check dependency cache
287
+ uses : actions/cache@v2
288
+ with :
289
+ path : ${{ env.CACHED_DEPENDENCY_PATHS }}
290
+ key : ${{ needs.job_build.outputs.dependency_cache_key }}
291
+ - name : Check build cache
292
+ uses : actions/cache@v2
293
+ with :
294
+ path : ${{ env.CACHED_BUILD_PATHS }}
295
+ key : ${{ env.BUILD_CACHE_KEY }}
296
+ - name : Run Playwright tests
297
+ run : |
298
+ cd packages/browser
299
+ yarn test:e2e
300
+
277
301
job_browserstack_test :
278
302
name : BrowserStack
279
303
needs : job_build
Original file line number Diff line number Diff line change 72
72
"fix" : " run-s fix:eslint fix:prettier" ,
73
73
"fix:prettier" : " prettier --write \" {src,test}/**/*.ts\" " ,
74
74
"fix:eslint" : " eslint . --format stylish --fix" ,
75
- "test" : " run-s test:unit test:e2e " ,
75
+ "test" : " run-s test:unit" ,
76
76
"test:unit" : " jest --config test/unit/jest.config.js" ,
77
77
"test:unit:watch" : " jest --config test/unit/jest.config.js --watch" ,
78
78
"test:integration" : " test/integration/run.js" ,
You can’t perform that action at this time.
0 commit comments