Skip to content

Bump vite from 5.2.11 to 5.4.6 in /hosting #35

Bump vite from 5.2.11 to 5.4.6 in /hosting

Bump vite from 5.2.11 to 5.4.6 in /hosting #35

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
cd hosting
npm ci
npm run build
- uses: actions/upload-artifact@v4
with:
name: hosting
path: ./hosting/build
retention-days: 1
if-no-files-found: error
deploy:
runs-on: ubuntu-latest
environment:
name: Production
url: https://crt.codesupport.dev
if: github.ref == 'refs/heads/master'
needs:
- build
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4
with:
name: hosting
path: ./hosting/build
- run: npx firebase-tools deploy --token "${{ secrets.FIREBASE_TOKEN }}"