Skip to content

feat: fe update for evaluations in client side #125

feat: fe update for evaluations in client side

feat: fe update for evaluations in client side #125

name: Build and Deploy PR to stage
on:
push:
branches: [stage]
pull_request:
branches: [stage]
workflow_dispatch:
jobs:
build-and-deploy:
name: Build and Deploy PR to stage
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.15"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Check Code Format
run: npm run format:check:ci
- name: Build Project
run: npm run build:dummy
- name: Deploy to Amplify
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
run: |
curl -X POST -d '{}' "${{ secrets.AMPLIFY_WEBHOOK_URL }}" -H "Content-Type:application/json"