소스 검색

meta: fix TypeScript CI

Antoine du Hamel 1 년 전
부모
커밋
d0cc5b43e6
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      .github/workflows/ci.yml

+ 6 - 0
.github/workflows/ci.yml

@@ -119,6 +119,12 @@ jobs:
                 await writeFile(pjsonPath, JSON.stringify(pjson))
               }
             }
+            const pjsonPath = `./packages/uppy/package.json`
+            const pjson = JSON.parse(await readFile(pjsonPath));
+            delete pjson.types
+            await writeFile(pjsonPath, JSON.stringify(pjson))
           EOF
+          echo > packages/uppy/types/index.test-d.ts
+          rm -r packages/@uppy/*/types
       - name: Attempt building TS packages
         run: corepack yarn run build:ts