File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -186,6 +186,29 @@ jobs:
186186 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
187187 run : coveralls --service=github --finish
188188
189+ js-test :
190+ name : JS Type Check
191+ runs-on : ubuntu-latest
192+ needs : test-ubuntu-python-newest
193+ steps :
194+ - uses : actions/checkout@v4
195+ - uses : actions/setup-node@v4
196+ with :
197+ node-version : 24
198+ - name : JS Type Check
199+ run : |
200+ set -o pipefail
201+ npx -p typescript tsc -p radicale/web/jsconfig.json | npx typescript-xunit-xml > tsc-results.xml
202+ - uses : mikepenz/action-junit-report@v6
203+ if : ${{ failure() && (github.event.pull_request.head.repo.full_name != github.repository) }}
204+ with :
205+ report_paths : ' tsc-results.xml'
206+ annotate_only : true # forked repo cannot write to checks so just do annotations
207+ - uses : mikepenz/action-junit-report@v6
208+ if : ${{ always() && github.event.pull_request.head.repo.full_name == github.repository }}
209+ with :
210+ report_paths : ' tsc-results.xml'
211+
189212 lint :
190213 name : Lint
191214 runs-on : ubuntu-latest
@@ -220,6 +243,6 @@ jobs:
220243 report_paths : ' pytest-results.xml'
221244 annotate_only : true # forked repo cannot write to checks so just do annotations
222245 - uses : mikepenz/action-junit-report@v6
223- if : ${{ github.event.pull_request.head.repo.full_name == github.repository }}
246+ if : ${{ always() && github.event.pull_request.head.repo.full_name == github.repository }}
224247 with :
225248 report_paths : ' pytest-results.xml'
You can’t perform that action at this time.
0 commit comments