add ci #1

Merged
keligrubb merged 15 commits from add-ci into main 2026-02-12 19:50:45 +00:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit e332c86748 - Show all commits

View File

@@ -19,11 +19,10 @@ steps:
- event: pull_request - event: pull_request
- name: e2e - name: e2e
image: node:24-slim image: mcr.microsoft.com/playwright:v1.58.2-noble
depends_on: [] depends_on: []
commands: commands:
- npm ci - npm ci
- npx playwright install --with-deps
- npm run test:e2e - npm run test:e2e
environment: environment:
CI: "true" CI: "true"

View File

@@ -1,5 +1,4 @@
# Build stage FROM node:24-slim AS builder
FROM node:22-alpine AS builder
WORKDIR /app WORKDIR /app
@@ -10,7 +9,7 @@ COPY . .
RUN npm run build RUN npm run build
# Run stage # Run stage
FROM node:22-alpine AS runner FROM node:24-slim AS runner
# Run as non-root user (node user exists in official image) # Run as non-root user (node user exists in official image)
USER node USER node