Skip to content

changes

changes #34

Workflow file for this run

name: CLIENT Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "client"
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: "**/package-lock.json"
- name: Recreate .env from secret
run: echo "${{ secrets.PROD_ENV_FILE }}" > .env
- run: pnpm install --frozen-lockfile
- name: Format Client
run: pnpm format
- name: Lint Client
run: pnpm ru lint
- name: Test Client
run: pnpm test
- name: Test coverage Client
run: pnpm coverage