Skip to content

E2E Docker UI Cypress #1396

E2E Docker UI Cypress

E2E Docker UI Cypress #1396

Workflow file for this run

name: E2E Docker UI Cypress
on:
workflow_dispatch:
pull_request:
push:
schedule:
# run every sunday
- cron: '0 0 * * 0'
jobs:
docker:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Start containers
run: docker compose -f "./docker/docker-e2e-ui/docker-compose.yaml" up -d --build
- name: Install node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: 18
- name: Node
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version-file: '.nvmrc'
- name: Set up .npmrc
run: |
echo "//rg.verdaccio.org/:_authToken=${{ secrets.VERDACCIO_TOKEN }}" > .npmrc
- name: registry
run: npm config set registry https://rg.verdaccio.org
- name: Install pnpm
run: |
corepack enable
corepack prepare --activate pnpm@latest-8
pnpm install
- name: login
run: npx npm-cli-login -u test -p test -e [email protected] -r http://localhost:4873
- name: build
run: pnpm build
- name: tests
run: pnpm test:ui
- name: Stop containers
if: always()
run: docker compose -f "./docker/docker-e2e-ui/docker-compose.yaml" down