Skip to content

289th Commit

289th Commit #67

Workflow file for this run

name: CI
on: push
jobs:
ci:
runs-on: ubuntu-latest
environment: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker compose up --build --detach ci
- name: pnpm build
run: docker compose exec --no-TTY ci pnpm build
- name: pnpm preview
run: docker compose exec --detach --no-TTY ci pnpm preview
- name: pnpm check
run: docker compose exec --no-TTY ci pnpm check
- name: pnpm test
run: docker compose exec --no-TTY ci pnpm test
- name: pnpm e2e
run: docker compose exec --no-TTY ci pnpm e2e
- name: Trigger deployment
if: ${{ contains(fromJSON('["refs/heads/main", "refs/heads/release", "refs/heads/prod"]'), github.ref) }}
run: curl -k ${{ secrets.DEPLOY_HOOK }}