Skip to content

Feat: multi package #323

Feat: multi package

Feat: multi package #323

Workflow file for this run

name: Lint & Test
on:
pull_request:
branches: ["*"]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
cache: "npm"
node-version: ${{ matrix.node-version }}
- name: Cache node_modules
uses: actions/cache@v2
id: cache_node_modules
with:
# check diff of package.json and package-lock.json
key: ${{ runner.os }}-build-node_modules-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/package.json') }}
path: "**/node_modules"
- name: Install dependencies
if: steps.cache_node_modules.outputs.cache-hit != 'true'
run: npm install
- name: Build
run: npm run build:all
- name: Lint
run: npm run lint:all
- name: Test
run: npm run test:evm
env:
PROVIDER_URL: https://goerli.infura.io/v3/${{ secrets.INFURA_KEY }}