File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Node.js CI
22
33on :
44 pull_request :
5- branches : [ '**' ]
5+ branches : ['**']
66
77jobs :
88 commitlint :
3434 - uses : actions/setup-node@v2
3535 - run : npm ci
3636 - run : npm test
37+
38+ e2e_tests :
39+ runs-on : ubuntu-latest
40+
41+ services :
42+ backend :
43+ image : cr.yandex/yc/yandex-docker-local-ydb
44+ ports :
45+ - 2135:2135
46+ - 8765:8765
47+ options : --hostname localhost -e YDB_ALLOW_ORIGIN="http://localhost:3000"
48+
49+ steps :
50+ - uses : actions/checkout@v2
51+ with :
52+ fetch-depth : 0
53+ - uses : actions/setup-node@v2
54+ with :
55+ node-version : 18
56+
57+ - name : Install dependencies
58+ run : npm ci
59+
60+ - name : Install Plawright deps
61+ run : npm run test:e2e:install
62+
63+ - name : Run Playwright tests
64+ run : npm run test:e2e
You can’t perform that action at this time.
0 commit comments