chore(deps): bump flatted from 3.3.3 to 3.4.1 #249
Workflow file for this run
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 | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: ['main'] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| security-events: write | |
| packages: read | |
| actions: read | |
| jobs: | |
| backend-security: | |
| name: Backend Security | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install backend dependencies | |
| run: npm run cinstall:backend | |
| - name: Security audit | |
| run: npm run security:audit | |
| - name: Vulnerability scan | |
| run: npm run security:vulnerabilities | |
| - name: License compliance check | |
| run: npm run security:licenses | |
| - name: Supply chain security | |
| run: npm run security:supply-chain | |
| frontend-security: | |
| name: Frontend Security | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install frontend dependencies | |
| run: npm run cinstall:frontend | |
| - name: Frontend security checks | |
| run: cd web && npm run security:all | |
| lint-and-format: | |
| name: Lint & Format | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm run cinstall:all | |
| - name: Run ESLint | |
| run: npm run lint | |
| - name: Check Prettier formatting | |
| run: npm run format:check | |
| build-frontend: | |
| name: Build Frontend | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm run cinstall:all | |
| - name: Build frontend | |
| run: npm run build | |
| # test: | |
| # name: Tests | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout code | |
| # uses: actions/checkout@v6 | |
| # - name: Setup Node.js | |
| # uses: actions/setup-node@v6 | |
| # with: | |
| # node-version: '22' | |
| # cache: 'npm' | |
| # - name: Install dependencies | |
| # run: npm run cinstall:all | |
| # - name: Run tests | |
| # run: npm run test:all | |
| verify-scripts: | |
| name: Verify Scripts | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm run cinstall:backend | |
| - name: Verify scripts exist | |
| run: | | |
| echo "Checking sync-versions script..." | |
| npm run sync-versions --dry-run || echo "sync-versions script verification complete" | |
| echo "Checking generate-docs script..." | |
| npm run generate-docs --help || echo "generate-docs script verification complete" | |
| dependabot-updates: | |
| name: Dependabot Updates | |
| uses: ./.github/workflows/dependabot-trigger.yml | |
| codeql-analysis: | |
| name: CodeQL | |
| needs: | |
| [ | |
| backend-security, | |
| frontend-security, | |
| lint-and-format, | |
| build-frontend, | |
| verify-scripts, | |
| dependabot-updates, | |
| ] | |
| uses: ./.github/workflows/codeql.yml |