Skip to content

Bump typescript from 4.8.2 to 5.3.3 #645

Bump typescript from 4.8.2 to 5.3.3

Bump typescript from 4.8.2 to 5.3.3 #645

Workflow file for this run

name: Preview Deployments
on:
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
paths-ignore:
- "api/**"
jobs:
build_and_deploy_job:
if: github.event_name == 'pull_request' && github.event.action != 'closed'
runs-on: ubuntu-latest
name: Deploy Pull Request Preview
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Get Yarn Cache
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Dependencies
id: deps-cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --frozen-lockfile --prefer-offline --ignore-scripts
- name: Build Frontend
run: yarn build:web --mode preview
- name: Deploy Frontend
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_COAST_047525A1E }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "/dist"
api_location: ""
output_location: "/dist"
skip_app_build: true
skip_deploy_on_missing_secrets: 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
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_COAST_047525A1E }}
action: "close"