Bump @babel/runtime from 7.10.5 to 7.26.10 #338
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 label | |
| on: [pull_request] | |
| jobs: | |
| snapshot: | |
| name: Run visual regression tests with chromatic (label triggered) | |
| if: ${{ contains(github.event.pull_request.labels.*.name, 'snapshot') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Read .nvmrc | |
| run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT | |
| id: nvm | |
| - name: Setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '${{ steps.nvm.outputs.nvmrc }}' | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/yarn | |
| key: ${{ runner.OS }}-yarn-cache-v1-${{ hashFiles('**/yarn.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-yarn-cache-v1- | |
| - name: Install | |
| run: yarn install --frozen-lockfile && yarn bootstrap | |
| - uses: chromaui/action@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |