name: Validate Decky on: push: branches: [main] pull_request: workflow_dispatch: jobs: web-client: # This matches the standard Docker label used by Forgejo Runner. If the # Unraid runner advertises a different label, change only this value. runs-on: docker container: image: node:22-bookworm steps: - name: Check out source uses: https://data.forgejo.org/actions/checkout@v6 - name: Install locked dependencies working-directory: app run: npm ci - name: Validate Svelte and TypeScript working-directory: app run: npm run check - name: Run unit tests working-directory: app run: npm test - name: Build web assets working-directory: app run: npm run build