chore(deps): update actions/github-script action to v8 #14656
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: 'chromatic' | |
| on: push | |
| jobs: | |
| chromatic: | |
| if: ${{ github.actor != 'dependabot[bot]' && github.ref == 'refs/heads/main' || contains(github.event.head_commit.message, '[ci chromatic]') }} | |
| runs-on: ubuntu-latest | |
| env: | |
| CYPRESS_INSTALL_BINARY: 0 | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install --immutable | |
| - name: Publish to Chromatic | |
| uses: chromaui/action@d0795df816d05c4a89c80295303970fddd247cce # v13.1.4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
| buildScriptName: 'build:storybook' | |
| skip: 'dependabot/**' | |
| env: | |
| STORYBOOK_ENV: chromatic | |
| NODE_OPTIONS: '--max-old-space-size=4096' |