Bump core-js from 3.40.0 to 3.43.0 in /frontend #157
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: Azure Static Web Apps CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'frontend/**' | |
| pull_request: | |
| types: [opened, synchronize, reopened, closed] | |
| branches: | |
| - main | |
| paths: | |
| - 'frontend/**' | |
| workflow_dispatch: | |
| jobs: | |
| deactivate_deployments_production: | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
| runs-on: ubuntu-latest | |
| name: Deactivate Previous Deployments (Production) | |
| permissions: | |
| deployments: write | |
| steps: | |
| - name: Set Previous Deployements To Inactive | |
| uses: strumwolf/delete-deployment-environment@a4825dd9648c57da8437a4885c3fcad58beac69c # v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| environment: Production - Frontend | |
| onlyDeactivateDeployments: true | |
| deactivate_deployments_preview: | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| name: Deactivate Previous Deployments (Preview) | |
| permissions: | |
| deployments: write | |
| steps: | |
| - name: Set Previous Deployements To Inactive | |
| uses: strumwolf/delete-deployment-environment@a4825dd9648c57da8437a4885c3fcad58beac69c # v3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| environment: Preview - Frontend | |
| ref: ${{ github.head_ref }} | |
| onlyDeactivateDeployments: true | |
| build_and_deploy_job_production: | |
| if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' | |
| runs-on: ubuntu-latest | |
| name: Build and Deploy Job (Production) | |
| needs: deactivate_deployments_production | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| environment: | |
| name: 'Production - Frontend' | |
| url: ${{ steps.builddeploy.outputs.static_web_app_url }} | |
| env: | |
| VUE_APP_BACKEND_URL: ${{ secrets.BACKEND_URL }} | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| submodules: true | |
| lfs: false | |
| - name: Build And Deploy | |
| id: builddeploy | |
| uses: Azure/static-web-apps-deploy@4d27395796ac319302594769cfe812bd207490b1 # v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_STONE_01F11A20F }} | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) | |
| action: "upload" | |
| ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### | |
| # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | |
| app_location: "./frontend" # App source code path | |
| api_location: "" # Api source code path - optional | |
| output_location: "dist" # Built app content directory - optional | |
| config_file_location: "./" # Custom configuration files - optional | |
| ###### End of Repository/Build Configurations ###### | |
| build_and_deploy_job_preview: | |
| if: github.event_name == 'pull_request' && github.event.action != 'closed' | |
| runs-on: ubuntu-latest | |
| name: Build and Deploy Job (Preview) | |
| needs: deactivate_deployments_preview | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| environment: | |
| name: 'Preview - Frontend' | |
| url: ${{ steps.builddeploy.outputs.static_web_app_url }} | |
| env: | |
| VUE_APP_BACKEND_URL: ${{ secrets.BACKEND_URL }} | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| submodules: true | |
| lfs: false | |
| - name: Build And Deploy | |
| id: builddeploy | |
| uses: Azure/static-web-apps-deploy@4d27395796ac319302594769cfe812bd207490b1 # v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_STONE_01F11A20F }} | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) | |
| action: "upload" | |
| ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### | |
| # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | |
| app_location: "./frontend" # App source code path | |
| api_location: "" # Api source code path - optional | |
| output_location: "dist" # Built app content directory - optional | |
| config_file_location: "./" # Custom configuration files - optional | |
| ###### End of Repository/Build Configurations ###### | |
| close_pull_request_job: | |
| if: github.event_name == 'pull_request' && github.event.action == 'closed' | |
| runs-on: ubuntu-latest | |
| name: Close Pull Request Job | |
| needs: deactivate_deployments_preview | |
| permissions: | |
| pull-requests: write | |
| deployments: write | |
| steps: | |
| - name: Close Pull Request | |
| id: closepullrequest | |
| uses: Azure/static-web-apps-deploy@4d27395796ac319302594769cfe812bd207490b1 # v1 | |
| with: | |
| azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_PURPLE_STONE_01F11A20F }} | |
| action: "close" | |
| app_location: "./frontend" |