Skip to content

Add --check-forwarder option in the aragonos forwarder command #307

Add --check-forwarder option in the aragonos forwarder command

Add --check-forwarder option in the aragonos forwarder command #307

Workflow file for this run

name: Main
on:
pull_request:
push:
branches: [master, next]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ci:
name: CI
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x]
pnpm-version: [7.19.x]
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: pnpm/[email protected]
with:
version: ${{ matrix.pnpm-version }}
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: ${{ matrix.node-version }}
- name: Cache pnpm
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }}
restore-keys: pnpm-
- name: Cache node_modules
uses: actions/cache@v3
id: cache-node-modules
with:
path: |
node_modules
packages/*/node_modules
packages/**/dist
key: modules-${{ hashFiles('pnpm-lock.yaml') }}
- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: pnpm i
- name: Get changed files from evmcrispr
id: changed-files
uses: tj-actions/changed-files@v20
with:
files: 'packages/evmcrispr/src/**'
- name: Link Dependencies
if: steps.cache-node-modules.outputs.cache-hit == 'true'
run: pnpm dev
- name: Lint code
run: pnpm lint
- name: Check evmcrispr types
run: pnpm lint:evmcrispr:types
- name: Build
run: pnpm build
- name: Check size
run: pnpm size
env:
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
CI_BRANCH_BASE: master
- name: Tests
if: steps.changed-files.outputs.any_changed == 'true'
run: pnpm test:coverage
env:
ARCHIVE_NODE_ENDPOINT: ${{ secrets.ARCHIVE_NODE_ENDPOINT }}
VITE_PINATA_JWT: ${{ secrets.VITE_PINATA_JWT }}
ETHERSCAN_API: ${{ secrets.ETHERSCAN_API }}
- name: Coveralls
uses: coverallsapp/github-action@master
if: steps.changed-files.outputs.any_changed == 'true'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: ${{matrix.os}}-node-${{ matrix.node-version }}
base-path: 'packages/evmcrispr'
path-to-lcov: 'packages/evmcrispr/coverage/lcov.info'