From cefb2c0e460097e80a351d51e9077e358a385528 Mon Sep 17 00:00:00 2001 From: snusxd Date: Mon, 13 Apr 2026 22:06:52 +0300 Subject: [PATCH] refactor: streamline node and python setup steps in workflow --- .gitea/workflows/main.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 6e3880c..56cbaca 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -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