Skip to content

feat(ProjectPage): implement project editing functionality with input… #38

feat(ProjectPage): implement project editing functionality with input…

feat(ProjectPage): implement project editing functionality with input… #38

name: Build and Deploy Flowboard Frontend to Azure Web App
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: yarn install
- name: Lint code
run: yarn lint
- name: Type check (strict project references)
run: npx tsc -b
- name: Build production app
run: yarn build
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
name: Flowboard-Project-Management-System
path: dist
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
with:
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: dist