From 10bc9038b44e6f7e455dee645f1ca96352dff335 Mon Sep 17 00:00:00 2001 From: Sachin Chaurasiya Date: Tue, 28 Nov 2023 16:55:38 +0530 Subject: [PATCH] add build workflow --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..4657d08 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +# write a workflow for building the package with nodejs and yarn +name: Build + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 18.x + uses: actions/setup-node@v3 + with: + node-version: 18.x + - name: Install dependencies + run: yarn install + - name: Run the Build + run: yarn run build