07beb35b82
* Run TS workflow only for ts/tsx within bbb-html5 * Include package.json and package-lock.json to ts-workflow paths
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
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@v3
|
|
with:
|
|
fetch-depth: 1
|
|
- name: Merge branches
|
|
uses: ./.github/actions/merge-branches
|
|
- name: install meteor
|
|
run: curl https://install.meteor.com/ | sh
|
|
- name: run meteor npm install
|
|
working-directory: bigbluebutton-html5
|
|
run: meteor npm install
|
|
- name: typescript code compilation
|
|
working-directory: bigbluebutton-html5
|
|
run: npx tsc
|