Skip to content

give up on updating cypress orb #1095

give up on updating cypress orb

give up on updating cypress orb #1095

Workflow file for this run

# .github/workflows/chromatic.yml
# Workflow name
name: ci
# Event for the workflow
on: push
# List of jobs
jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node
uses: actions/setup-node@v4
with:
always-auth: true
registry-url: https://registry.npmjs.org
node-version-file: '.nvmrc'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Use cached node_modules
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive
- name: Publish to Chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: "main"
token: ${{ secrets.GITHUB_TOKEN }}
buildScriptName: storybook:build
onlyChanged: true
exitZeroOnChanges: true
exitOnceUploaded: true