Skip to content

Tec 4141 front resumo componentes de subtotais ds (#24) #143

Tec 4141 front resumo componentes de subtotais ds (#24)

Tec 4141 front resumo componentes de subtotais ds (#24) #143

Workflow file for this run

name: Publish Docs to Chromatic
on:
workflow_dispatch:
pull_request:
types: [ ready_for_review, synchronize, opened, reopened ]
branches:
- main
push:
branches:
- main
- '**/bugfix/**'
- '**/featured/**'
jobs:
test:
uses: ./.github/workflows/test.yml
publish-docs:
needs: test
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'publish_docs')
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm install
- run: npm ci
- name: build
run: npm run build-storybook
- run: npm run build
name: Publish to Chromatic
- uses: chromaui/action@latest
with:
projectToken: ${{ secrets.PROJECT_CHROMATIC_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
autoAcceptChanges: true