chore(deps): bump the prod-deps group across 1 directory with 6 updates #5775
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: Continuous Integration | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| permissions: | |
| contents: read | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '22.22.3' | |
| cache: 'yarn' | |
| - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| id: yarn-cache | |
| with: | |
| path: | | |
| **/node_modules | |
| .yarn/cache | |
| key: ${{ runner.os }}-modules-${{ hashFiles('yarn.lock') }} | |
| - name: Turbo Cache | |
| id: turbo-cache | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| with: | |
| path: .turbo | |
| key: turbo-${{ runner.os }}-${{ github.job }} | |
| restore-keys: | | |
| turbo-${{ runner.os }}- | |
| - run: yarn | |
| if: steps.yarn-cache.outputs.cache-hit != 'true' | |
| - name: Build, lint and test | |
| id: build-lint-test | |
| run: yarn run ci | |
| - name: Check for uncommitted API report changes | |
| id: check-api-md | |
| run: | | |
| if ! git diff --exit-code -- '*.api.md'; then | |
| echo "::error::*.api.md files are out of date. Run 'yarn run ci' locally and commit the resulting changes." | |
| exit 1 | |
| fi | |
| - name: Visual regression | |
| id: visual-regression | |
| run: yarn turbo run visual-regression --cache-dir=".turbo" --concurrency=1 | |
| - name: Upload visual-regression results | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| if: failure() | |
| with: | |
| name: 'playwright-visual-results-${{ github.event.number }}' | |
| path: | | |
| **/test-results | |
| !**/node_modules | |
| - name: Upload storybooks | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: 'storybooks-${{ github.event.number }}' | |
| path: | | |
| packages/fuselage/storybook-static | |
| packages/onboarding-ui/storybook-static | |
| packages/layout/storybook-static |