Adjust project bootstrap scripts to be windows-friendly #3800
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: Check | |
on: | |
pull_request: | |
jobs: | |
check: | |
timeout-minutes: 25 | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-2019] | |
steps: | |
- name: "Print OS" | |
run: echo ${{ matrix.os }} | |
- uses: actions/checkout@v3 | |
- name: "Remove test files workaround (jest types conflicting with cypress types)" | |
if: ${{ runner.os == 'Windows' }} | |
run: find packages/desktop/src -name '*.test.*' -delete | |
shell: bash | |
- name: "Setup environment for Linux and MacOS" | |
uses: ./.github/actions/setup-env | |
if: ${{ runner.os != 'Windows' }} | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,@quiet/mobile,e2e-tests,backend-bundle" | |
- name: "Setup environment for Windows" | |
uses: ./.github/actions/setup-env | |
if: ${{ runner.os == 'Windows' }} | |
with: | |
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,e2e-tests,backend-bundle" | |
- name: "Lint" | |
if: ${{ runner.os != 'Windows' }} | |
run: lerna run lint-ci --stream |