Skip to content

Commit 10f19df

Browse files
authored
Merge pull request #69 from Visual-Regression-Tracker/137-prisma-fix
Nodejs downgraded to 12.18.4
2 parents 8b8f51f + 9206f0e commit 10f19df

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343

4444
- name: Apply DB migrations
4545
run: npx prisma migrate up -c --experimental
46+
47+
- name: Seed DB data
48+
run: npx ts-node ./prisma/seed.ts
4649

4750
- name: Run e2e tests
4851
run: npm run test:e2e

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ COPY src ./src
1919
RUN npm run build
2020

2121
# TODO use node-alpine when supported by prisma2 https://github.com/prisma/prisma2/issues/702
22-
FROM node:12-alpine
22+
FROM node:12.18.4-alpine
2323
COPY --from=builder /app/node_modules ./node_modules
2424
COPY --from=builder /app/package*.json ./
2525
COPY --from=builder /app/dist ./dist

prisma/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12-alpine
1+
FROM node:12.18.4-alpine
22

33
RUN apk add --no-cache bash
44

0 commit comments

Comments
 (0)