-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 986 Bytes
/
e2e.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
31
32
33
34
35
36
37
38
39
40
name: E2E Tests
on:
pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-e2e
cancel-in-progress: true
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: './e2e/pnpm-lock.yaml'
- uses: hoverkraft-tech/[email protected]
with:
compose-file: './e2e/docker-compose.yml'
- name: Cypress run
uses: cypress-io/github-action@v6
with:
wait-on: 'http://localhost:8080'
working-directory: './e2e'
record: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}