File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 description : The image tag to publish
88 required : true
99 type : string
10+ typecheck_only :
11+ description : Only run the typecheck job
12+ required : false
13+ default : false
14+ type : boolean
1015 workflow_call :
1116 inputs :
1217 image_tag :
1318 description : The image tag to publish
1419 required : true
1520 type : string
21+ typecheck_only :
22+ description : Only run the typecheck job
23+ required : false
24+ default : false
25+ type : boolean
1626 secrets :
1727 DOCKERHUB_USERNAME :
1828 required : false
@@ -63,12 +73,14 @@ jobs:
6373 uses : ./.github/workflows/typecheck.yml
6474
6575 units :
76+ if : ${{ !inputs.typecheck_only }}
6677 uses : ./.github/workflows/unit-tests.yml
6778 secrets :
6879 DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
6980 DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
7081
7182 publish-webapp :
83+ if : ${{ !inputs.typecheck_only }}
7284 needs : [typecheck]
7385 permissions :
7486 contents : read
8597 image_registry : ${{ vars.IMAGE_REGISTRY || format('ghcr.io/{0}', github.repository_owner) }}
8698
8799 publish-worker-v4 :
100+ if : ${{ !inputs.typecheck_only }}
88101 needs : [typecheck]
89102 permissions :
90103 contents : read
Original file line number Diff line number Diff line change 3131 - name : Restore Turbo cache
3232 uses : WarpBuilds/cache@40f3443ae7b70e568d6e2070ea897f3df94d7553 # v1
3333 with :
34- path : . turbo
34+ path : node_modules/.cache/ turbo
3535 key : turbo-typecheck-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.sha }}
3636 restore-keys : |
3737 turbo-typecheck-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}-
You can’t perform that action at this time.
0 commit comments