Skip to content

chore(client): setup gh ci checks for client app (#389) #3

chore(client): setup gh ci checks for client app (#389)

chore(client): setup gh ci checks for client app (#389) #3

Workflow file for this run

name: "React Front-End CI checks"
on:
pull_request:
branches:
- '**'
push:
branches:
- stable
- unstable
paths:
- 'client/**'
- '.github/workflows/*client.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci --prefix=client --no-audit
- name: Check format
run: npm run format --prefix=client
- name: Lint
run: npm run lint --prefix=client
- name: Build
run: npm run build --prefix=client