Skip to content

Bump vite from 4.5.2 to 4.5.3 #78

Bump vite from 4.5.2 to 4.5.3

Bump vite from 4.5.2 to 4.5.3 #78

name: Azure Static Web Apps CI/CD
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Build and Deploy
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy
if: github.event_name != 'pull_request'
id: deploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_CLIFF_03B050F03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "dist"
output_location: ""
skip_app_build: true