-
Notifications
You must be signed in to change notification settings - Fork 9
36 lines (34 loc) · 1.03 KB
/
e2e-docker.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
name: End to End Testing (Docker)
on:
workflow_dispatch:
pull_request:
branches: [ "master" ]
jobs:
e2e-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout frank-flow repository
uses: actions/checkout@v2
- name: Use Node.js 21.x
uses: actions/setup-node@v2
with:
node-version: 21.x
- name: Build the backend
run: mvn install
- name: Cache local Maven repository
uses: actions/cache@v2
env:
cache-name: cache-maven-dependencies
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run Cypress using the frank-framework Docker image
uses: cypress-io/[email protected]
with:
working-directory: frank-flow/src/frontend/
build: yarn build
start: docker-compose up -d
wait-on: "http://localhost:8080/frank-flow/"
wait-on-timeout: 360