2023-08-15 04:52:35 +08:00
|
|
|
name: Typescript - compile code
|
|
|
|
on:
|
|
|
|
push:
|
2023-09-07 04:58:18 +08:00
|
|
|
branches:
|
|
|
|
- "develop"
|
|
|
|
- "v2.[5-9].x-release"
|
|
|
|
- "v[3-9].*.x-release"
|
2023-09-12 01:05:47 +08:00
|
|
|
paths:
|
|
|
|
- "bigbluebutton-html5/**.ts"
|
|
|
|
- "bigbluebutton-html5/**.tsx"
|
|
|
|
- "bigbluebutton-html5/package.json"
|
|
|
|
- "bigbluebutton-html5/package-lock.json"
|
2023-09-07 04:58:18 +08:00
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened]
|
2023-09-12 01:05:47 +08:00
|
|
|
paths:
|
|
|
|
- "bigbluebutton-html5/**.ts"
|
|
|
|
- "bigbluebutton-html5/**.tsx"
|
|
|
|
- "bigbluebutton-html5/package.json"
|
|
|
|
- "bigbluebutton-html5/package-lock.json"
|
2023-08-15 04:52:35 +08:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
ts-code-compilation:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
2024-03-11 23:28:35 +08:00
|
|
|
- uses: actions/checkout@v4
|
2023-08-15 04:52:35 +08:00
|
|
|
with:
|
2023-09-07 04:45:39 +08:00
|
|
|
fetch-depth: 1
|
|
|
|
- name: Merge branches
|
|
|
|
uses: ./.github/actions/merge-branches
|
2024-08-10 01:58:44 +08:00
|
|
|
- name: run npm ci
|
2023-08-15 04:52:35 +08:00
|
|
|
working-directory: bigbluebutton-html5
|
2024-08-10 01:58:44 +08:00
|
|
|
run: npm ci
|
2023-08-15 04:52:35 +08:00
|
|
|
- name: typescript code compilation
|
|
|
|
working-directory: bigbluebutton-html5
|
2023-09-08 01:58:06 +08:00
|
|
|
run: npx tsc
|