refactor: streamline node and python setup steps in workflow
All checks were successful
sorting / run-scripts (push) Successful in 1m35s

This commit is contained in:
snusxd
2026-04-13 22:06:52 +03:00
parent a48693b5be
commit cefb2c0e46

View File

@@ -23,25 +23,21 @@ jobs:
- name: checkout
uses: actions/checkout@v4
- name: setup node + npm cache
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: package-lock.json
- name: npm ci
run: npm ci
run: npm ci --prefer-offline --no-audit --no-fund
- name: setup python + pip cache
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: requirements.txt
- name: install python deps
run: pip install -r requirements.txt
run: pip install --no-cache-dir -r requirements.txt
- name: scripts
working-directory: ./scripts