Skip to content

test: modified command #5

test: modified command

test: modified command #5

Workflow file for this run

name: End 2 End Tests
on:
push:
branches:
- test/e2e
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: sudo apt install -y openssl
- run: openssl req -newkey rsa:2048 -nodes -keyout server.key -out server.csr -subj "/CN=localhost"
- run: openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
- run: openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -password {{ secrets.E2E_SSL_PASSWORD }}
- run: mv server.p12 /certs/keystore.p12
- run: docker compose --profile e2e up -d --pull always
- run: npm --prefix webapp install
- run: npm --prefix webapp run build
- run: npm --prefix webapp run test:e2e