Skip to content

Commit

Permalink
chore: Add yellow paper build check to CI (#3490)
Browse files Browse the repository at this point in the history
Adds a step to the CI to build the yellow paper, in order to catch any
build issues in our PRs.
  • Loading branch information
spalladino authored Nov 30, 2023
1 parent d09d6f5 commit 3ebd2f2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
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
yellow-paper:
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

- 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
- 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

0 comments on commit 3ebd2f2

Please sign in to comment.