run type checks also for companion and add files to docker (#4688)

* run type checks also for companion

* add docker build to PRs

* add missing checkout

* try to copy everything

* try to fix issue

* Update .github/workflows/companion.yml

* Update .dockerignore
This commit is contained in:
Mikael Finstad 2023-09-23 12:56:32 +08:00 committed by GitHub
parent 04d6429409
commit 889653ebc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -2,3 +2,6 @@
.git
website
assets
private
e2e
.env

View file

@ -46,4 +46,6 @@ jobs:
run: corepack yarn workspaces focus @uppy/companion
- name: Run tests
run: corepack yarn run test:companion
- name: Run type checks in focused workspace
run: corepack yarn run build:companion

View file

@ -5,9 +5,7 @@ RUN if [ "$(uname -m)" == "aarch64" ]; then mkdir -p /usr/local/sbin/ && ln -s /
WORKDIR /app
COPY package.json .yarnrc.yml /app/
COPY .yarn /app/.yarn
COPY packages/@uppy/companion /app/packages/@uppy/companion
COPY . /app/
RUN apk --update add --virtual native-dep \
make gcc g++ python3 libgcc libstdc++ git && \