Skip to content

fix: Optimize fonts and asset handling in SCSS and templates #90

fix: Optimize fonts and asset handling in SCSS and templates

fix: Optimize fonts and asset handling in SCSS and templates #90

name: Deploy to Firebase Hosting on PR
on:
pull_request:
branches:
- main
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-24.04
environment: staging
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Build and Test
run: ./scripts/build.sh
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BVARGA_FE600 }}'
projectId: bvarga-fe600