From 182719df17fec72f8ee54447830c4b2e5a767506 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Tue, 2 Sep 2025 20:57:06 +0100 Subject: [PATCH] Refactor CI workflow to remove Node.js setup step and use npm ci for dependency installation --- .gitea/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3113813..99782f6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -9,19 +9,14 @@ on: jobs: build: runs-on: ubuntu-latest + container: node:lts-alpine steps: - name: Checkout code uses: actions/checkout@v4 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 'lts/*' - cache: 'npm' - - name: Install dependencies - run: npm install + run: npm ci - name: Run linter run: npm run lint