Merge pull request #21865 from gustavotrott/hasura-cli-install #354
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
name: Typescript - compile code | |
on: | |
push: | |
branches: | |
- "develop" | |
- "v2.[5-9].x-release" | |
- "v[3-9].*.x-release" | |
paths: | |
- "bigbluebutton-html5/**.ts" | |
- "bigbluebutton-html5/**.tsx" | |
- "bigbluebutton-html5/package.json" | |
- "bigbluebutton-html5/package-lock.json" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "bigbluebutton-html5/**.ts" | |
- "bigbluebutton-html5/**.tsx" | |
- "bigbluebutton-html5/package.json" | |
- "bigbluebutton-html5/package-lock.json" | |
permissions: | |
contents: read | |
jobs: | |
ts-code-compilation: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Merge branches | |
uses: ./.github/actions/merge-branches | |
- name: run npm ci | |
working-directory: bigbluebutton-html5 | |
run: npm ci | |
- name: typescript code compilation | |
working-directory: bigbluebutton-html5 | |
run: npx tsc |