Skip to content

Merge pull request #6 from numoen/robertleifke-readthedocs #42

Merge pull request #6 from numoen/robertleifke-readthedocs

Merge pull request #6 from numoen/robertleifke-readthedocs #42

Workflow file for this run

name: "CI"
env:
FOUNDRY_PROFILE: "ci"
RPC_URL_GOERLI: ${{ secrets.RPC_URL_SEPOLIA }}
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"
- uses: "foundry-rs/foundry-toolchain@v1"
with:
version: "nightly"
- run: pnpm install --frozen-lockfile
- run: pnpm lint:ci
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"
- uses: "foundry-rs/foundry-toolchain@v1"
with:
version: "nightly"
- run: pnpm install --frozen-lockfile
- run: pnpm build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"
- uses: "foundry-rs/foundry-toolchain@v1"
with:
version: "nightly"
- run: pnpm install --frozen-lockfile
- run: pnpm test