Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add yellow paper build check to CI #3490

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,17 @@ jobs:
echo "Skipping doc deploy (not on master)."
fi

check-yellow-paper:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just call it yellow-paper? I like the consistency with the repo name and the folder name...

machine:
image: ubuntu-2204:2023.07.2
resource_class: large
steps:
- *checkout
- *setup_env
- run:
name: "Build yellow paper"
command: build yellow-paper

e2e-join:
docker:
- image: cimg/base:2023.09
Expand Down Expand Up @@ -1057,6 +1068,8 @@ workflows:

- mainnet-fork: *defaults

- check-yellow-paper: *defaults

# Yarn Project
- yarn-project-base:
requires:
Expand Down Expand Up @@ -1175,6 +1188,7 @@ workflows:
- guides-dapp-testing
- guides-sample-dapp
- guides-up-quick-start
- check-yellow-paper
<<: *defaults

# Benchmark jobs.
Expand Down
5 changes: 5 additions & 0 deletions build_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,8 @@ docs:
- ^.*.nr$
dependencies:
- yarn-project

yellow-paper:
buildDir: yellow-paper
rebuildPatterns:
- ^yellow-paper/
4 changes: 4 additions & 0 deletions yellow-paper/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM node:18-alpine
WORKDIR /usr/src
COPY . .
RUN yarn && yarn build --no-minify