feature/PxWeb2-896 New layout with virtualized separated mobile and desktop tables #2231
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
| # .github/workflows/chromatic.yml | |
| name: 'Chromatic' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/pxweb2-ui/**' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'packages/pxweb2-ui/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| chromatic: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24.x | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build style-dictionary | |
| run: npm run build-style-dictionary | |
| - name: Publish to Chromatic | |
| uses: chromaui/action@latest | |
| with: | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |