Skip to content

npm: bump ws from 7.3.1 to 8.17.1 #948

npm: bump ws from 7.3.1 to 8.17.1

npm: bump ws from 7.3.1 to 8.17.1 #948

Workflow file for this run

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'