Merge pull request #611 from psarando/dynamic-loading-animation #698
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: Chromatic CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Required to retrieve git history | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, build, and test | |
run: | | |
npm ci | |
npm run build --if-present | |
env: | |
CI: true | |
- uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.my_token }} | |
projectToken: ${{ secrets.project_token }} | |
exitZeroOnChanges: true | |
allowConsoleErrors: true | |
onlyChanged: true |