Skip to content

Fix/deposit status issue #187

Fix/deposit status issue

Fix/deposit status issue #187

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