Run foundry suite before node lint
This commit is contained in:
parent
c2f1690b0d
commit
91f19539d9
1 changed files with 20 additions and 20 deletions
|
|
@ -8,6 +8,26 @@ trigger:
|
|||
- pull_request
|
||||
|
||||
steps:
|
||||
- name: foundry-suite
|
||||
image: ubuntu:22.04
|
||||
environment:
|
||||
FOUNDRY_DIR: /root/.foundry
|
||||
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
commands:
|
||||
- |
|
||||
bash -lc '
|
||||
set -euo pipefail
|
||||
apt-get update
|
||||
apt-get install -y curl git build-essential pkg-config libssl-dev
|
||||
curl -L https://foundry.paradigm.xyz | bash
|
||||
foundryup
|
||||
cd onchain
|
||||
forge --version
|
||||
forge build --sizes
|
||||
forge test -vvv
|
||||
forge snapshot
|
||||
'
|
||||
|
||||
- name: node-quality
|
||||
image: node:20-bullseye
|
||||
environment:
|
||||
|
|
@ -37,23 +57,3 @@ steps:
|
|||
npm run test --prefix services/txnBot
|
||||
npm run build --prefix services/txnBot
|
||||
'
|
||||
|
||||
- name: foundry-suite
|
||||
image: ubuntu:22.04
|
||||
environment:
|
||||
FOUNDRY_DIR: /root/.foundry
|
||||
PATH: /root/.foundry/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
commands:
|
||||
- |
|
||||
bash -lc '
|
||||
set -euo pipefail
|
||||
apt-get update
|
||||
apt-get install -y curl git build-essential pkg-config libssl-dev
|
||||
curl -L https://foundry.paradigm.xyz | bash
|
||||
foundryup
|
||||
cd onchain
|
||||
forge --version
|
||||
forge build --sizes
|
||||
forge test -vvv
|
||||
forge snapshot
|
||||
'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue