fix: no permission flickering (#217) #125
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: Deploy Storybook | |
on: push | |
jobs: | |
deploy-storybooks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build PIA Storybook | |
run: npx nx run portal-integration-angular:build-storybook | |
- name: Publish to PIA Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_PIA }} | |
storybookBuildDir: dist/storybook/portal-integration-angular | |
skip: 'dependabot/**' | |
- name: Build AA Storybook | |
run: npx nx run angular-accelerator:build-storybook | |
- name: Publish to AA Chromatic | |
uses: chromaui/action@latest | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN_AA }} | |
storybookBuildDir: dist/storybook/angular-accelerator | |
skip: 'dependabot/**' |