Files
TheGrapefruitsDuo/.gitea/workflows/client-build.yml
Lucas Jensen 77003707ab update-readme (#1)
Reviewed-on: #1
2025-03-15 04:27:49 +00:00

36 lines
642 B
YAML

name: react client build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [21.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Lint
working-directory: client
run: |
npm install
npm run prettier:check
- name: Build
working-directory: client
run: |
npm install
npm run build