Update all non-major dependencies #301
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Frontend DEV | |
on: | |
push: | |
branches-ignore: | |
- main | |
paths: | |
- 'frontend/**' | |
- 'db/**' | |
- 'lib/**' | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
ci_frontend: | |
name: CI frontend DEV | |
defaults: | |
run: | |
working-directory: frontend | |
runs-on: ubuntu-latest | |
environment: dev | |
env: | |
PUBLIC_FRONTEND_URL: ${{ vars.FRONTEND_URL }} | |
PUBLIC_BACKEND_URL: ${{ vars.BACKEND_URL }} | |
PRIVATE_MAILER_API_KEY: ${{ secrets.MAILER_API_KEY }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Format check | |
run: pnpm -w run format:check | |
- name: Install browsers | |
run: pnpx playwright install --with-deps | |
- name: Run tests | |
run: pnpm test | |
- name: Deploy dev | |
run: pnpm deploy:dev | |
env: | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} |