-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (32 loc) · 875 Bytes
/
lint.yaml
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
name: Lint Test
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install Python Dependencies
run: pip install flake8 isort yapf
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Pnpm
run: npm i pnpm@latest -g
- name: Install Node Dependencies
run: pnpm install
- name: Build Dependencies
run: pnpm run build:compiled
- name: Run Lint
run: pnpm run lint