Skip to content

275th Commit

275th Commit #53

Workflow file for this run

name: CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
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 redis
- 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 lint
run: docker compose exec --no-TTY ci pnpm lint
- 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
run: curl -k ${{ secrets.DEPLOY_HOOK }}