From 91a39033dd94c039368d4325ce62788b50da836e Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sat, 8 Feb 2025 16:34:03 +0100 Subject: [PATCH] chore: :construction_worker: use node image to lint --- .gitea/workflows/pilotwings.yml | 4 +--- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/pilotwings.yml b/.gitea/workflows/pilotwings.yml index 9137b40..783b755 100644 --- a/.gitea/workflows/pilotwings.yml +++ b/.gitea/workflows/pilotwings.yml @@ -16,11 +16,9 @@ jobs: node: runs-on: ubuntu-latest + container: node:22.11.0-slim steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: "^20" - run: npm ci - run: npm run type-check - run: npm run lint diff --git a/Dockerfile b/Dockerfile index 6ac06d4..eb9ce25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-slim AS frontend +FROM node:22.11.0-slim AS frontend WORKDIR /app COPY . .