name: Lint and Build Checks on: push: branches: [main] paths: - 'src/**' schedule: # 5:00 PM CST daily. Gitea schedules use UTC. # CST (UTC-6): 23:00 UTC. # During CDT this runs at 6:00 PM America/Chicago unless the cron is adjusted. - cron: '0 23 * * *' workflow_dispatch: jobs: lint-test-build: name: Lint, Test, and Build runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: '24' cache: 'npm' - name: Install dependencies run: npm ci - name: Lint run: npm run lint - name: Test run: npm run test -- --runInBand - name: Build web and Electron assets run: npm run electron:build