Merge pull request #302 from IT4Change/dependabot/npm_and_yarn/vuepre… #110
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 |