Skip to content

chore: fix file type ext for arch doc #543

chore: fix file type ext for arch doc

chore: fix file type ext for arch doc #543

name: Chromatic Production
on:
push:
branches:
- main
jobs:
upload:
name: Upload to Chromatic and Automatically Approve
runs-on: ubuntu-latest
timeout-minutes: 15
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2.5.1
with:
node-version-file: ".nvmrc"
registry-url: "https://registry.npmjs.org"
always-auth: true
cache: npm
- name: Install npm dependencies
run: |
npm ci
npm run build
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: chromaui/action@v1
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
exitOnceUploaded: true
autoAcceptChanges: true
onlyChanged: true