mirror of
https://github.com/trycua/computer.git
synced 2026-01-06 21:39:58 -06:00
Add pnpm setup and Node dependency installation to lint workflow
This commit is contained in:
10
.github/workflows/lint.yml
vendored
10
.github/workflows/lint.yml
vendored
@@ -22,16 +22,24 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.11
|
||||
|
||||
- name: Install dependencies
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install uv
|
||||
uv sync
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
# Python checks (isort, black, ruff, mypy)
|
||||
- name: Python lint & typecheck
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user