Skip to content

EBIP-9

EBIP-9 #326

Workflow file for this run

name: Protocol
on:
pull_request:
types: [opened, synchronize]
paths:
- "protocol/**"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Protocol Tests
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Cache Node Modules
id: node-modules-cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: yarn install --immutable
- run: yarn generate
working-directory: protocol
- run: yarn test
env:
FORKING_RPC: ${{ secrets.ANVIL_FORK_URL }}
working-directory: protocol