feat(demo): add default dashboard content #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Pipeline | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| quality-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build libraries | |
| run: npm run build:ci | |
| - name: Run tests | |
| run: timeout 600 npm test 2>&1 | grep -E "(TOTAL|SUCCESS|FAILED|Executed.*of.*)" | |
| - name: Security audit | |
| run: npm audit --audit-level=high | |
| continue-on-error: true |