Skip to content

chore: add Node v21 to CI #381

chore: add Node v21 to CI

chore: add Node v21 to CI #381

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest]
node-version: [18, 20, 21]
runs-on: ${{ matrix.platform }}
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Check out code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: npm ci
- name: Start regtest containers
run: npm run docker:start
- name: Compile
run: npm run compile
- name: Lint
run: npm run lint
- name: Prettier
run: npm run prettier:check
- name: Unit tests
run: npm run test:unit
- name: Integration tests
run: npm run test:int
- name: Contract tests
run: npm run test:solidity