Skip to content

Commit

Permalink
Merge pull request #1 from lazyfuhrer/issue-471-agenta-web-github-act…
Browse files Browse the repository at this point in the history
…ions

ci/cd: added github actions for agenta-web
  • Loading branch information
lazyfuhrer authored Aug 28, 2023
2 parents 8c3323d + cb01978 commit d2c17c3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Check Build Status

on:
pull_request:
branches:
- main
paths:
- "agenta-web/**"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install dependencies
run: npm ci
working-directory: agenta-web

- name: Build
run: |
echo "Starting build process..."
npm run build
if [ $? -ne 0 ]; then
echo "Build failed"
exit 1
else
echo "Build successful"
fi
working-directory: agenta-web

0 comments on commit d2c17c3

Please sign in to comment.