Add a CI workflow for build (#7)
Build / Build (pull_request) Successful in 1m52s

Part of https://plan.wireit.in/deepstack/browse/VUL-309/

Co-authored-by: AdityaSalunkhe21 <adityasalunkhe2204@gmail.com>
Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2025-12-31 10:30:42 +00:00
co-authored by AdityaSalunkhe21
parent 471fa450b8
commit af221694a0
+33
View File
@@ -0,0 +1,33 @@
name: Build
on:
push:
branches: [master, dev]
paths:
- 'src/**'
pull_request:
branches: [master, dev]
paths:
- 'src/**'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Enable corepack and yarn
run: corepack enable
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build project
run: yarn build