Skip to content

LBE V2

LBE V2 #184

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- uses: actions/setup-node@v4
with:
node-version: 20.17
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run build
run: pnpm run build
- name: Run test
run: pnpm run test
env:
BLOCKFROST_PROJECT_ID_MAINNET: ${{ secrets.BLOCKFROST_PROJECT_ID_MAINNET }}
BLOCKFROST_PROJECT_ID_TESTNET: ${{ secrets.BLOCKFROST_PROJECT_ID_TESTNET }}
- name: Check format & lint
run: pnpm run check-format