Skip to content

build(deps): bump @fluentui/react-components from 9.51.0 to 9.52.0 #382

build(deps): bump @fluentui/react-components from 9.51.0 to 9.52.0

build(deps): bump @fluentui/react-components from 9.51.0 to 9.52.0 #382

Workflow file for this run

name: Azure Static Web Apps CI/CD
on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize, reopened, closed]
branches: ['main']
permissions:
contents: read
pull-requests: write
env:
NODE_VERSION: '20.x'
jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
environment: ${{ github.event_name == 'push' && 'Production' || 'Staging' }}
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
lfs: false
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Verify formatting
run: npm run format:check
- name: Build sources
run: npm run build
- name: Deploy static web app
id: deploy
uses: Azure/static-web-apps-deploy@v1
env:
SKIP_DEPLOY_ON_MISSING_SECRETS: ${{ github.event_name == 'pull_request' }}
IS_STATIC_EXPORT: true
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: 'upload'
app_location: 'out'
skip_app_build: true
skip_api_build: true
close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close pull request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
env:
SKIP_DEPLOY_ON_MISSING_SECRETS: ${{ github.event_name == 'pull_request' }}
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }}
action: 'close'
app_location: ''