fix: remove CSS variables, use direct Tailwind colors #36
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: | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - '**.md' | |
| - '**.svg' | |
| - '**.png' | |
| - 'showcase/**' | |
| - '.github/workflows/auto-merge.yml' | |
| push: | |
| branches: [master] | |
| paths-ignore: | |
| - '**.md' | |
| - '**.svg' | |
| - '**.png' | |
| - 'showcase/**' | |
| - '.github/workflows/auto-merge.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-and-build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: platform | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - run: npm install | |
| - name: Run tests | |
| run: npx jest --ci --forceExit 2>&1 | |
| - name: Verify test count | |
| run: | | |
| RESULT=$(npx jest --ci --forceExit 2>&1 | tail -5) | |
| echo "$RESULT" | |
| echo "$RESULT" | grep -q "111 passed" || { | |
| echo "❌ Test count mismatch or failures" | |
| exit 1 | |
| } | |
| echo "✅ All 111 tests passed" | |
| - name: Build | |
| run: npm run build 2>&1 | tail -10 |