generated from EVerest/everest-template
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (39 loc) · 990 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SPDX-License-Identifier: Apache-2.0
# Copyright 2020 - 2024 Pionix GmbH and Contributors to EVerest
name: Lint EVerest Admin Panel
on:
pull_request:
branches:
- '*'
push:
branches:
- main
tags:
- '*'
workflow_dispatch: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node + pnpm install
uses: ./.github/actions/setup-node
with:
pnpm-version: 9
- uses: reviewdog/action-eslint@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-check
fail_on_error: true
filter_mode: 'nofilter'
eslint_flags: '--ignore-path .gitignore .'
vue-tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node + pnpm install
uses: ./.github/actions/setup-node
with:
pnpm-version: 9
- name: Run Vue TSC
run: pnpm vue-tsc