Skip to content

Commit

Permalink
Move node and solc installation out of Dockerfile into workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwaldp-oci committed Aug 29, 2023
1 parent 885c9c3 commit 9582cc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .cicd/platforms/ubuntu22.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,3 @@ RUN apt-get update && apt-get upgrade -y && \
git \
jq \
wget

RUN wget https://nodejs.org/dist/v18.17.0/node-v18.17.0-linux-x64.tar.xz
RUN tar xvfJ node-v18.17.0-linux-x64.tar.xz
RUN cp -r node-v18.17.0-linux-x64/{bin,include,lib,share} /usr/

RUN npm install -g solc
7 changes: 7 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ jobs:
echo "LEAP_BUILD_PATH=$(pwd)" >> "$GITHUB_OUTPUT"
popd
- name: Install build dependencies
run: |
wget https://nodejs.org/dist/v18.17.0/node-v18.17.0-linux-x64.tar.xz
tar xvfJ node-v18.17.0-linux-x64.tar.xz
cp -r node-v18.17.0-linux-x64/{bin,include,lib,share} /usr/
npm install -g solc
- name: Build EVM Bridge Contracts
run: |
pushd evm-bridge-contracts
Expand Down

0 comments on commit 9582cc7

Please sign in to comment.