Skip to content

Aditya

Aditya #5

Workflow file for this run

name: Pre-merge Checks
# Run the workflow on every pull request targeting the 'main' branch
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install frontend dependencies
run: |
cd frontend
npm install
- name: Build frontend
run: |
cd frontend
npm run build
- name: Install backend dependencies
run: |
cd backend
npm install
- name: Build backend
run: |
cd backend
npm run build
- name: Install pre-merge check dependencies
run: |
npm install typescript ts-morph
- name: Run Circular Dependency Check
run: |
node canIMerge.js --check-circular