Skip to content

Commit

Permalink
Fix CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Nov 19, 2024
1 parent 2f0f32c commit c9e0cf4
Show file tree
Hide file tree
Showing 7 changed files with 1,663 additions and 782 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ node_modules
.env.development.local
.env.test.local
.env.production.local
.yarn
.vite
/**/.vscode

Expand Down
4 changes: 4 additions & 0 deletions compliant-reward-distribution/dockerfiles/server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ ARG NODE_IMAGE=node:18-slim

# Build frontend
FROM ${NODE_IMAGE} AS frontend

# Enable Corepack and prepare Yarn 3.6.3
RUN corepack enable && corepack prepare [email protected] --activate

WORKDIR /frontend
COPY ./compliant-reward-distribution/frontend ./
RUN yarn
Expand Down
874 changes: 874 additions & 0 deletions compliant-reward-distribution/frontend/.yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions compliant-reward-distribution/frontend/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
yarnPath: .yarn/releases/yarn-3.6.3.cjs
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion compliant-reward-distribution/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "compliance-reward-distribution-front-end",
"version": "1.0.0",
"type": "module",
"packageManager": "yarn@4.5.0",
"packageManager": "yarn@3.6.3",
"scripts": {
"dev": "vite",
"build": "tsc && vite build && cp -r ./public ./dist/",
Expand Down
1,560 changes: 780 additions & 780 deletions compliant-reward-distribution/frontend/yarn.lock

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions sponsoredTransactionsAuction/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ COPY ./sponsoredTransactionsAuction/frontend/src ./src
COPY ./sponsoredTransactionsAuction/frontend/index.html ./index.html
COPY ./sponsoredTransactionsAuction/frontend/generated ./generated

# Enable Corepack and prepare Yarn 3.6.3
RUN corepack enable && corepack prepare [email protected] --activate

RUN yarn
RUN yarn build

Expand Down

0 comments on commit c9e0cf4

Please sign in to comment.