inspector/.github/workflows/main.yml
Workflow config file is invalid. Please check your config file: Line: 7 Column 5: Failed to match job-factory: Line: 13 Column 9: Failed to match run-step: Line: 14 Column 9: Unknown Property uses Line: 16 Column 9: Unknown Property with Line: 13 Column 9: Failed to match regular-step: Line: 15 Column 9: Unknown Property working-directory Line: 7 Column 5: Failed to match workflow-job: Line: 9 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
2026-03-17 16:49:50 -04:00

33 lines
680 B
YAML

name: Run install, format, lint, build, and test on every push or pull request
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
working-directory: 'clients/web'
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Check formatting
run: npm run format:check
- name: Run linter
run: npm run lint
- name: Run Build
run: npm run build
# - name: Run tests
# run: npm run test