Jest/use commonjs libs #2152
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: Visual regressions | |
on: | |
pull_request: | |
paths: | |
- packages/desktop/** | |
jobs: | |
chromatic-deployment: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- name: "Print OS" | |
run: echo ${{ matrix.os }} | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Required to retrieve git history | |
- name: Setup environment | |
uses: ./.github/actions/setup-env | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle" | |
- name: "Publish to Chromatic" | |
uses: chromaui/action@v1 | |
with: | |
workingDir: ./packages/desktop | |
token: ${{ secrets.GH_TOKEN }} | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} |