Skip to content

update for vitest 4 #60

update for vitest 4

update for vitest 4 #60

Workflow file for this run

name: Chromatic
on:
push:
branches:
- 'next-ui'
jobs:
chromatic:
name: Run Chromatic
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: next-ui/package-lock.json
- name: npm install
working-directory: next-ui
run: npm ci
- name: i18n:compile
working-directory: next-ui
run: npm run i18n:compile
- name: Run Chromatic
id: chromatic
uses: chromaui/action@latest
with:
workingDir: next-ui
exitOnceUploaded: true
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
autoAcceptChanges: 'next-ui'
skip: 'dependabot/**'
- name: Summary
run: |
echo "Chromatic:" >> $GITHUB_STEP_SUMMARY
echo "- [Build](${{ steps.chromatic.outputs.buildUrl }})" >> $GITHUB_STEP_SUMMARY
echo "- [Storybook](${{ steps.chromatic.outputs.storybookUrl }})" >> $GITHUB_STEP_SUMMARY