Update dependency @playwright/test to v1.47.2 #2153
Workflow file for this run
This file contains 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
# Workflow name | |
name: 'Chromatic Publish' | |
# Event for the workflow | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# List of jobs | |
jobs: | |
chromatic: | |
# Operating System | |
runs-on: ubuntu-latest | |
# Job steps | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # 👈 Required to retrieve git history | |
- name: Install dependencies | |
run: npm ci | |
- name: Build packages | |
run: npm run build | |
- name: Install Chromatic | |
run: npm install --save-dev chromatic | |
working-directory: ./packages/ui | |
#👇 Adds Chromatic as a step in the workflow | |
- uses: chromaui/action@v1 | |
name: Run Chromatic | |
# Options required for Chromatic's GitHub Action | |
with: | |
#👇 Chromatic projectToken, | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
workingDir: packages/ui # 👈 Working directory for the Chromatic CLI | |
exitZeroOnChanges: true # 👈 Option to prevent the workflow from failing | |
skip: '@(renovate/**|dependabot/**)' # 👈 Option to skip Chromatic builds for PRs created by Renovate and Dependabot | |
onlyChanged: true # 👈 Enable TurboSnap (only update snapshots for changed files) | |
externals: | | |
- '/styles/**' | |