-
-
Notifications
You must be signed in to change notification settings - Fork 85
40 lines (32 loc) · 943 Bytes
/
frontend_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
# SPDX-FileCopyrightText: 2023 Marlon W (Mawoka)
#
# SPDX-License-Identifier: MPL-2.0
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: "[CI] Frontend / Lint"
on:
push:
branches: [ master ]
paths:
- "frontend/**"
workflow_dispatch:
pull_request:
jobs:
frontend_lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1
- uses: pnpm/[email protected]
with:
version: 7.9.3
working-directory: ./frontend
- name: Install dependencies
working-directory: ./frontend
run: |
pnpm install
- name: Lint
working-directory: ./frontend
run: |
pnpm run lint-without-format-checking