bigbluebutton-Github/.github/workflows/ts-code-validation.yml

35 lines
892 B
YAML
Raw Normal View History

name: Typescript - validate code (eslint)
on:
push:
branches:
- "develop"
- "v2.[5-9].x-release"
- "v[3-9].*.x-release"
paths-ignore:
- "docs/**"
- "**/*.md"
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- "docs/**"
- "**/*.md"
permissions:
contents: read
jobs:
ts-code-validation:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
2023-09-07 04:45:39 +08:00
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 validation with eslint
working-directory: bigbluebutton-html5
run: npx eslint . --ext .ts,.tsx