github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/.github/workflows/dm_ui_lint.yaml (about) 1 name: DM Web UI Lint 2 3 on: 4 pull_request: 5 paths: 6 - 'dm/ui/**' 7 8 jobs: 9 dm-web-ui-lint: 10 name: DM Web UI Lint 11 runs-on: ubuntu-latest 12 13 defaults: 14 run: 15 working-directory: ./dm/ui 16 17 steps: 18 - uses: actions/checkout@v2 19 - name: Setup Node.js 20 uses: actions/setup-node@v2 21 with: 22 node-version: '14' 23 cache: 'yarn' 24 cache-dependency-path: 'dm/ui/yarn.lock' 25 - name: Install dependencies 26 run: yarn --ignore-scripts 27 - name: Type check 28 run: yarn type-check 29 - name: Lint 30 run: yarn lint