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+ branches-ignore :
6+ - 1.x
7+ push :
8+ branches :
9+ - main
10+
11+ jobs :
12+ typecheck-dist :
13+ name : Check ${{ matrix.package }} distributed types
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ # @todo
18+ # add Start for v2
19+ package : ["@solidjs/vite-plugin-nitro-2"]
20+ steps :
21+ - name : Checkout Repo
22+ uses : actions/checkout@v3
23+
24+ - uses : pnpm/action-setup@v3
25+
26+ - name : Use Node.js from nvmrc
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version-file : " .nvmrc"
30+ registry-url : " https://registry.npmjs.org"
31+ cache : " pnpm"
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