Changed Goerli deployment to Sepolia #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |