Adicionar prop "variant" no TextInput #38
Workflow file for this run
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: Storybook Tests | |
on: | |
pull_request: | |
branches: | |
- '*' | |
- '*/*' | |
- '**' | |
jobs: | |
test-flow: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Build Storybook | |
run: yarn storybook:build --quiet | |
- name: Serve Storybook and run tests | |
run: | | |
npx concurrently -k -s first -n "Storybook Build,Storybook Test" -c "auto" \ | |
"npx http-server storybook-static --port 6006 --silent" \ | |
"npx wait-on http-get://127.0.0.1:6006 && test-storybook" | |
chromatic-flow: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn | |
- name: Publish to Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: "chpt_ca9ead39821522d" | |
autoAcceptChanges: "main" | |
buildScriptName: "storybook:build" | |
env: | |
CI: true |