Merge pull request #40576 from weswigham/add-pyright

Add pyright user test
This commit is contained in:
Wesley Wigham 2020-10-06 13:22:27 -07:00 committed by GitHub
commit 692502e99f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,9 @@
Exit Code: 0
Standard output:
Standard error:
lerna notice cli vX.X.X
lerna info Executing command in 3 packages: "tsc --noEmit"
lerna success exec Executed command in 3 packages: "tsc --noEmit"

View File

@ -0,0 +1,10 @@
FROM node:current
RUN git clone https://github.com/microsoft/pyright.git /pyright
WORKDIR /pyright
RUN git pull
RUN npm i
COPY --from=typescript/typescript /typescript/typescript-*.tgz /typescript.tgz
RUN npm install /typescript.tgz --exact --ignore-scripts --save-dev
RUN npx lerna exec --stream --concurrency 1 -- npm install /typescript.tgz --exact --ignore-scripts --save-dev
ENTRYPOINT [ "npx" ]
CMD [ "lerna", "exec", "--stream", "--concurrency", "1", "--no-bail", "--", "tsc", "--noEmit" ]