Merge pull request #4087 from LiteFarmOrg/rtk-upgrade/locations-rebas… #2137
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: "Chromatic" | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - integration | |
| jobs: | |
| chromatic-deployment: | |
| runs-on: ubuntu-latest | |
| container: node:22.21 | |
| defaults: | |
| run: | |
| working-directory: packages/webapp | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| package_json_file: "packages/webapp/package.json" | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Publish to Chromatic | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=8192" | |
| run: ./node_modules/.bin/chromatic --project-token ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |