|
@@ -33,7 +33,10 @@ jobs:
|
|
|
with:
|
|
|
node-version: ${{matrix.node-version}}
|
|
|
- name: Install dependencies
|
|
|
- run: corepack yarn install --immutable
|
|
|
+ run: corepack yarn workspaces focus $(corepack yarn workspaces list --json | jq -r .name | awk '/^@uppy-example/{ next } { if ($0!="uppy.io") print $0 }')
|
|
|
+ env:
|
|
|
+ # https://docs.cypress.io/guides/references/advanced-installation#Skipping-installation
|
|
|
+ CYPRESS_INSTALL_BINARY: 0
|
|
|
- name: Run tests
|
|
|
run: corepack yarn run test:unit
|
|
|
|
|
@@ -59,7 +62,8 @@ jobs:
|
|
|
with:
|
|
|
node-version: lts/*
|
|
|
- name: Install dependencies
|
|
|
- run: corepack yarn install --immutable
|
|
|
+ # List all projects that use a custom ESLint config:
|
|
|
+ run: corepack yarn workspaces focus @uppy/angular @uppy-example/angular @uppy-example/react-native-expo @uppy/react-native @uppy-dev/build
|
|
|
- name: Run linter
|
|
|
run: corepack yarn run lint
|
|
|
|
|
@@ -85,7 +89,7 @@ jobs:
|
|
|
with:
|
|
|
node-version: lts/*
|
|
|
- name: Install dependencies
|
|
|
- run: corepack yarn install --immutable
|
|
|
+ run: corepack yarn workspaces focus @uppy-dev/build
|
|
|
- name: Run linter
|
|
|
run: corepack yarn run lint:markdown
|
|
|
|
|
@@ -111,7 +115,10 @@ jobs:
|
|
|
with:
|
|
|
node-version: lts/*
|
|
|
- name: Install dependencies
|
|
|
- run: corepack yarn install --immutable
|
|
|
+ run: corepack yarn workspaces focus $(corepack yarn workspaces list --json | jq -r .name | awk '/^@uppy-example/{ next } { if ($0!="uppy.io") print $0 }')
|
|
|
+ env:
|
|
|
+ # https://docs.cypress.io/guides/references/advanced-installation#Skipping-installation
|
|
|
+ CYPRESS_INSTALL_BINARY: 0
|
|
|
# Need to do a bunch of work to generate the locale typings 🙃
|
|
|
- name: Prepare type declarations
|
|
|
run: |
|