feat: fe update for evaluations in client side #125
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |