mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-09 00:49:27 +00:00
checkou node
This commit is contained in:
14
.github/workflows/pre_commit.yml
vendored
14
.github/workflows/pre_commit.yml
vendored
@@ -18,10 +18,15 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Node.js
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
node-version: '23'
|
||||||
|
|
||||||
|
- name: Install frontend dependencies
|
||||||
|
run: |
|
||||||
|
cd frontend
|
||||||
|
npm install
|
||||||
|
|
||||||
- name: Cache pre-commit environment
|
- name: Cache pre-commit environment
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@@ -34,9 +39,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
|
||||||
npm install @eslint/js globals
|
|
||||||
pip install pre-commit
|
pip install pre-commit
|
||||||
|
pre-commit install
|
||||||
|
|
||||||
- name: Run pre-commit
|
- name: Run pre-commit
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user