upgraded jest, typescript and fixed tests #516
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: "CI_03: Storybook deployment" | |
on: | |
pull_request: | |
paths: | |
- "src/**" | |
- ".storybook/**" | |
- "index.ts" | |
- yarn.lock | |
push: | |
branches: | |
- "develop" | |
paths: | |
- "src/**" | |
- ".storybook/**" | |
- "index.ts" | |
- yarn.lock | |
jobs: | |
chromatic-deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn install | |
- name: Create jest results | |
run: yarn test:generate-output | |
- name: Publish to Chromatic | |
uses: chromaui/action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
exitZeroOnChanges: true | |
onlyChanged: true | |
traceChanged: "expanded" | |
exitOnceUploaded: true | |
externals: "*.scss" |