Skip to content

Feat/add scroll merge token #184

Feat/add scroll merge token

Feat/add scroll merge token #184

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