Skip to content

Commit ad8aad7

Browse files
committed
CI fix
1 parent c0c4c08 commit ad8aad7

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

.docker/services/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ FROM node:20-alpine AS builder
22

33
WORKDIR /app/services
44

5-
# Copy package files (from services/ context, these are at root of context)
6-
COPY package*.json ./
5+
# Copy package files (from repo root context, services files are in services/ subdirectory)
6+
COPY services/package*.json ./
77

88
# Install dependencies
99
RUN npm ci --only=production

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ jobs:
2020

2121
- name: Validate JSON files
2222
run: |
23-
for file in $(find . -name "*.json" -not -path "./node_modules/*" -not -path "./.docker/*" -not -path "./services/node_modules/*"); do
24-
echo "Validating $file"
25-
jq empty "$file" || exit 1
26-
done
23+
find . -name "*.json" -not -path "./node_modules/*" -not -path "./.docker/*" -not -path "./services/node_modules/*" -exec sh -c 'jq empty "$1" || exit 1' _ {} \;
2724
2825
- name: Check for debug statements
2926
run: |

.github/workflows/docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ on:
1111
- 'Doxyfile'
1212
- '.github/workflows/docs.yml'
1313
workflow_dispatch:
14+
pull_request:
15+
branches:
16+
- main
17+
paths:
18+
- 'lib/**'
19+
- 'scripts/**'
20+
- 'services/**'
21+
- 'Doxyfile'
22+
- '.github/workflows/docs.yml'
1423

1524
permissions:
1625
contents: write

0 commit comments

Comments
 (0)