docs: update readme with current tech stack and github actions badge #9
Workflow file for this run
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: Preview | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, closed] | |
| branches: [main] | |
| concurrency: | |
| group: preview-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| deploy_preview: | |
| if: github.event.action != 'closed' | |
| name: Deploy Preview | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build web app (preview) | |
| run: pnpm nx build web-app --configuration preview | |
| - name: Copy SWA routing config | |
| run: cp apps/web-app/src/staticwebapp.config.json dist/apps/web-app/browser/ | |
| - name: Deploy to Azure Static Web Apps | |
| id: deploy | |
| uses: Azure/static-web-apps-deploy@v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| action: upload | |
| app_location: dist/apps/web-app/browser | |
| skip_app_build: true | |
| close_preview: | |
| if: github.event.action == 'closed' | |
| name: Close Preview | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Close staging environment | |
| uses: Azure/static-web-apps-deploy@v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} | |
| action: close |