File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Type Check Distribution
2+
3+ on :
4+ pull_request : ~
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ typecheck-dist :
11+ name : Check ${{ matrix.package }} distributed types
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ # # to add other packages from the monorepo, add them to the matrix
16+ package : [start]
17+ steps :
18+ - name : Checkout Repo
19+ uses : actions/checkout@v4
20+
21+ - uses : pnpm/action-setup@v4
22+
23+ - name : Use Node.js from nvmrc
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version-file : " .nvmrc"
27+ registry-url : " https://registry.npmjs.org"
28+ cache : " pnpm"
29+
30+ - name : Install Dependencies
31+ run : pnpm i --frozen-lockfile
32+
33+ - name : Build ${{ matrix.package }} package and dependencies
34+ # build the package and all its dependencies
35+ run : pnpm --filter ${{ matrix.package }}... build
36+
37+ - name : Check types with @arethetypeswrong/cli
38+ run : pnpx @arethetypeswrong/cli --pack packages/${{ matrix.package }} --profile esm-only
You can’t perform that action at this time.
0 commit comments