Skip to content

Feat/filter tx history #126

Feat/filter tx history

Feat/filter tx history #126

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
- preview
- dev
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Run npm install
run: npm ci
- name: Run Build Command
run: |
if [[ ${{ github.event.pull_request.base.ref }} == 'main' ]]; then
npm run generate:node:nexus
elif [[ ${{ github.event.pull_request.base.ref }} == 'preview' ]]; then
npm run generate:node:nexus
elif [[ ${{ github.event.pull_request.base.ref }} == 'dev' ]]; then
npm run generate:node:nexus-sepolia
else
echo "No specific build command for this branch."
fi