From 3a1d21e0bafb971d89e62d055f274e0a17c49b9e Mon Sep 17 00:00:00 2001 From: somramnani Date: Wed, 8 Nov 2023 21:32:15 -0500 Subject: [PATCH] add build.yml --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..237f64c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: CI/CD Pipeline + +on: + push: + 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: 14 + + - name: Install dependencies + run: npm install + + - name: Build + run: npm run build