chore: ignore solcjs #125
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: hardhat-and-foundry | |
on: [push] | |
jobs: | |
foundry: | |
name: foundry | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
env: | |
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
with: | |
registry-url: https://registry.npmjs.org | |
scope: '@kreskolabs' | |
- run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf ssh://[email protected]/ | |
- run: cp .env.example .env | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- run: bun install --yarn | |
- name: Run Foundry Tests | |
run: forge test | |
env: | |
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
RPC_ARBITRUM_ALCHEMY: https://arb-mainnet.g.alchemy.com/v2/${{ secrets.ALCHEMY_API_KEY }} | |
hardhat: | |
name: hardhat | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: oven-sh/setup-bun@v1 | |
env: | |
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
with: | |
registry-url: https://registry.npmjs.org | |
scope: '@kreskolabs' | |
- run: git config --global url."https://${{ secrets.GH_TOKEN }}@github.com/".insteadOf ssh://[email protected]/ | |
- run: cp .env.example .env | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- run: forge install | |
- run: bun install --yarn | |
- run: bun run test:ci | |
env: | |
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }} | |
MNEMONIC_DEVNET: ${{ secrets.MNEMONIC_DEVNET }} |