From 79a6baa0d2683d187aa6536199f7f3c16d4ac3a0 Mon Sep 17 00:00:00 2001 From: Yukthiw <59380056+Yukthiw@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:18:44 -0500 Subject: [PATCH] chore: Github action for build on non-staging and main branches (#104) --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 00000000..96411d6c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: Build +on: + push: + branches-ignore: + - main + - staging +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: '20.x' + - run: npm ci + - run: npm run build + env: + BASE_URL: '/ePlant'