forked from solidcouch/solidcouch
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 1.22 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Run e2e tests
on: push
jobs:
cypress-run:
runs-on: ubuntu-22.04
steps:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Checkout
uses: actions/checkout@v3
- name: Cypress run
uses: cypress-io/github-action@v6
env:
CYPRESS_baseUrl: http://localhost:4173
CYPRESS_COMMUNITY: http://localhost:4000/test-community/community#us'
CYPRESS_OTHER_COMMUNITY: http://localhost:4000/other-community/community#us'
CYPRESS_CSS_URL: http://localhost:4000
CYPRESS_EMAIL_NOTIFICATIONS_IDENTITY: http://localhost:4000/mailbot/profile/card#me
VITE_COMMUNITY: http://localhost:4000/test-community/community#us'
VITE_EMAIL_NOTIFICATIONS_SERVICE: http://localhost:3005
VITE_EMAIL_NOTIFICATIONS_IDENTITY: http://localhost:4000/mailbot/profile/card#me
VITE_EMAIL_NOTIFICATIONS_TYPE: simple
VITE_ENABLE_DEV_CLIENT_ID: true
BROWSER: none
with:
build: yarn build
start: yarn preview, yarn community-solid-server -p 4000 -c ./cypress/css-config-no-log.json
wait-on: 'http://localhost:4173, http://localhost:4000'