fix(anatomy): draw the glyph in the text step in dark too #841
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Docs-only PRs don't affect the build/tests — skip the suite. (Adjust the | |
| # required status checks in the branch ruleset accordingly so skipped runs | |
| # don't block docs PRs.) | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.md' | |
| # Least privilege: no job needs write scopes (Codecov upload reads only). | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests with coverage | |
| run: npm run test:coverage | |
| # Fork PRs run without repository secrets, so CODECOV_TOKEN is empty — | |
| # on this public repo codecov-action then falls back to a tokenless | |
| # upload, so patch/project statuses still post on fork PRs. Strictness is | |
| # conditional: hard-fail on same-repo pushes/PRs (a real config/token | |
| # problem must not pass silently), best-effort for fork PRs (tokenless | |
| # uploads can be rate-limited and must not brick fork CI). | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: coverage/lcov.info | |
| fail_ci_if_error: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }} | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run linter and type check | |
| run: npm run lint | |
| storybook: | |
| name: Storybook | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.x' | |
| - name: Install dependencies | |
| run: npm install | |
| # Gate: a story that no longer compiles (renamed export, broken fixture) | |
| # fails the pipeline. This is the same build the deploy workflow | |
| # publishes under /storybook/. | |
| - name: Build Storybook | |
| run: npm run build-storybook |