neko/.github/workflows/client_test.yml
2025-03-22 20:39:41 +01:00

33 lines
647 B
YAML

name: Test Client Build
on:
pull_request:
branches:
- master
paths:
- client/**
- .github/workflows/client_test.yml
jobs:
client_test:
name: Test Client Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
cache-dependency-path: client/package-lock.json
- name: Install dependencies
working-directory: ./client
run: npm ci
- name: Build client
working-directory: ./client
run: npm run build