mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 14:59:53 +08:00
36 lines
660 B
YAML
36 lines
660 B
YAML
name: Lint UI
|
|
run-name: Lint UI - ${{ github.run_id }} - @${{ github.actor }}
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
paths:
|
|
- 'web/**'
|
|
merge_group:
|
|
paths:
|
|
- 'web/**'
|
|
|
|
jobs:
|
|
lint:
|
|
name: Prettier, ESLint, & TSC
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout OSS Teleport
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Node Toolchain
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
|
|
- name: Install Yarn dependencies
|
|
run: yarn --frozen-lockfile
|
|
|
|
- name: Run lint
|
|
run: yarn lint
|
|
|
|
- name: Run Type Check
|
|
run: yarn type-check
|