fix types #253
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: LGTM | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
lint_xpra: | |
name: ESLint on Xpra Client | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn workspace xpra-html5-client lint | |
lint_ui: | |
name: ESLint on Xpra React UI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn workspace xpra-html5-client-react lint | |
coverage_xpra: | |
name: Code coverage on Xpra Client | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn workspace xpra-html5-client test:coverage | |
- uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./packages/xpra/coverage/ | |
name: xpra | |
commit: | |
name: Conventional Commits check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: wagoid/commitlint-github-action@v4 | |