Skip to content

Commit

Permalink
chore: Github action for build on non-staging and main branches (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yukthiw authored Mar 4, 2024
1 parent c675a3d commit 79a6baa
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 79a6baa

Please sign in to comment.