Skip to content

Commit

Permalink
Switch back to node 16 due to fetch api changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed Jul 16, 2024
1 parent 65f1a4f commit 5424361
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
node-version: 16

- name: Install Dependencies
run: yarn install
Expand All @@ -33,4 +33,4 @@ jobs:
exit 1
else
echo "Tests have passed."
fi
fi
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM node:18 AS install
FROM node:16 AS install
WORKDIR /app
COPY package.json ./
RUN yarn config set ignore-engines true
RUN yarn install

FROM node:18 as build
FROM node:16 as build
WORKDIR /app
COPY prisma ./prisma/
RUN npx prisma generate
Expand All @@ -13,7 +14,7 @@ COPY --from=install /app/node_modules ./node_modules
COPY . .
RUN npm run build

FROM node:18
FROM node:16
WORKDIR /app
COPY --from=build /app/dist ./dist
COPY --from=build /app/package*.json ./
Expand Down

0 comments on commit 5424361

Please sign in to comment.