Repository navigation
added controller logic #36
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: Frontend build | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: ['**'] | |
| jobs: | |
| frontend-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use NodeJS 24.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.x | |
| cache: 'yarn' | |
| - name: Create .env file | |
| run: | | |
| echo "AWS_SECRET_ACCESS_KEY=dummy" >> .env | |
| echo "AWS_ACCESS_KEY_ID=dummy" >> .env | |
| echo "AWS_REGION=us-east-2" >> .env | |
| - name: Install Dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build frontend | |
| run: npx nx build frontend |