ci-image-improvements #18

Merged
david merged 12 commits from ci-image-improvements into main 2026-04-01 06:14:26 +00:00
3 changed files with 6 additions and 4 deletions
Showing only changes of commit ba180ae6e1 - Show all commits
+4 -2
View File
@@ -19,7 +19,9 @@ jobs:
- name: Link node_modules from container
run: |
# Create symlink to pre-installed node_modules in container
ln -sf /app/node_modules ./node_modules
# Container has node_modules at /workspace/node_modules
# Gitea Actions checks out at /workspace/david/euchre_camp
ln -sf /workspace/node_modules ./node_modules
- name: Run unit tests
run: npm run test:run
@@ -42,7 +44,7 @@ jobs:
- name: Link node_modules from container
run: |
# Create symlink to pre-installed node_modules in container
ln -sf /app/node_modules ./node_modules
ln -sf /workspace/node_modules ./node_modules
- name: Setup SQLite database
run: |
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
- name: Link node_modules from container
run: |
# Create symlink to pre-installed node_modules in container
ln -sf /app/node_modules ./node_modules
ln -sf /workspace/node_modules ./node_modules
- name: Run unit tests
run: npm run test:run
+1 -1
View File
@@ -15,7 +15,7 @@ RUN apk add --no-cache \
&& rm -rf /var/cache/apk/*
# Set working directory
WORKDIR /app
WORKDIR /workspace
# Copy package files first (for better caching)
COPY package*.json ./