Merge pull request #298 from IT4Change/refine-dependabot-vite-package… #100
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
name: "frontend:deploy:chromatic" | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
name: Chromatic - Frontend | |
runs-on: ubuntu-latest | |
env: | |
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Frontend | Build | |
run: npm install && npm run chromatic -- --exit-zero-on-changes |