Initial code to allow human readable function abi. #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
concurrency: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
build_project: | |
name: Build, lint, and test on Node ${{ matrix.node }} and ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node: ['18.x', '20.x', '22.x'] | |
os: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm build | |
- name: Lint | |
run: pnpm ci:lint | |
- name: Test | |
run: pnpm test | |
- name: Check examples & demos | |
run: pnpm check-examples | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
# https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954/21 | |
fail_ci_if_error: false | |
# TODO: Fix or replace bundlemon on CI | |
# - name: Analyze bundle size | |
# uses: lironer/bundlemon-action@v1 |