Update dependency @prezly/sdk to v23.7.0 #2574
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 | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
# Job steps | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # 👈 Required to retrieve git history | |
- name: Setup Environment | |
uses: prezly/setup-github-actions@v1 | |
with: | |
node: ${{ matrix.node-version }} | |
pnpm: "9.15.4" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build packages | |
run: pnpm build | |
- name: Install Chromatic | |
run: pnpm install 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/**' | |