Skip to content

Commit

Permalink
run type checks also for companion and add files to docker (#4688)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mifi authored Sep 23, 2023
1 parent 04d6429 commit 889653e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
.git
website
assets
private
e2e
.env
2 changes: 2 additions & 0 deletions .github/workflows/companion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 889653e

Please sign in to comment.