npm: bump inquirer from 7.3.3 to 9.2.19 #932
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: 'Chromatic' | |
on: | |
pull_request: | |
types: | |
- labeled | |
push: | |
branches: | |
- develop | |
jobs: | |
chromatic-deployment: | |
if: contains(github.event.pull_request.labels.*.name, 'run Chromatic') || github.ref == 'refs/heads/develop' | |
runs-on: ubuntu-latest | |
env: | |
STORYBOOK_FREEZE_DATE: "true" | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install dependencies | |
run: yarn | |
- name: Publish to Chromatic | |
if: github.ref != 'refs/heads/develop' | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
exitZeroOnChanges: true | |
buildScriptName: 'storybook:build:chromatic' | |
- name: Publish to Chromatic and auto accept changes | |
if: github.ref == 'refs/heads/develop' | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
autoAcceptChanges: true | |
buildScriptName: 'storybook:build:chromatic' |