Skip to content

build(deps): Bump word-wrap from 1.2.3 to 1.2.4 #723

build(deps): Bump word-wrap from 1.2.3 to 1.2.4

build(deps): Bump word-wrap from 1.2.3 to 1.2.4 #723

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- master
env:
MAINNET_RPC_URL: "https://rpc.ankr.com/eth"
GOERLI_RPC_URL: "https://rpc.ankr.com/eth_goerli"
HARDHAT_CHAIN_ID: 1
LOOKS_RARE_DEPLOYER: ${{ secrets.LOOKS_RARE_DEPLOYER }}
LOOKS_RARE_AGGREGATOR_SALT: ${{ secrets.LOOKS_RARE_AGGREGATOR_SALT }}
ERC20_ENABLED_LOOKS_RARE_AGGREGATOR_SALT: ${{ secrets.ERC20_ENABLED_LOOKS_RARE_AGGREGATOR_SALT }}
LOOKS_RARE_PROXY_SALT: ${{ secrets.LOOKS_RARE_PROXY_SALT }}
SEAPORT_PROXY_SALT: ${{ secrets.SEAPORT_PROXY_SALT }}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dev dependencies
run: yarn install --frozen-lockfile
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Compile code (Hardhat)
run: yarn compile:force
- name: Run Solidity/Hardhat tests
run: yarn test:hardhat
- name: Run Solidity/Forge tests
run: yarn test:forge
env:
FOUNDRY_PROFILE: local