Skip to content

Fix-saas-publish

Fix-saas-publish #2

name: Validate Public Web Pull Request
on:
pull_request:
paths:
- "public-web/**"
jobs:
validate-public-web:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies and run build
working-directory: public-web
run: |
npm ci
npm run lint
npm run build
- name: Verify build output
run: |
if [ ! -d "public-web/build" ]; then
echo "Build failed: 'build' directory not found."
exit 1
fi