Request JavaScript/ECMAscript JMRI scripting users contact us #6706
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow checks that Typescript code has been properly compiled | |
name: Typescript Check | |
on: | |
push: | |
pull_request: | |
jobs: | |
tsc: | |
name: tsc | |
runs-on: ubuntu-latest | |
steps: | |
# see https://github.com/marketplace/actions/typescript-compiler | |
- uses: actions/checkout@v4 | |
- name: install node v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: yarn install | |
run: | |
yarn install | |
- name: check changes | |
run: | | |
ant typescript | |
git diff --exit-code web/js |