From 44fff224902ea71cfee5edc4492d4be3e7443edc Mon Sep 17 00:00:00 2001 From: spranjal394 Date: Mon, 7 Oct 2024 08:57:27 +0000 Subject: [PATCH] workflows added --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..deac66e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +name: Build on PR + +on: + pull_request: + branches: + - master + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install Dependencies + run: npm install + + - name: Run Build + run: npm run build