Skip to content

initial commit for major refactoring #119

initial commit for major refactoring

initial commit for major refactoring #119

# # This file was auto-generated by the Firebase CLI
# # https://github.com/firebase/firebase-tools
# name: Run unit test and Deploy to Firebase Preview on PR
# on: pull_request
# env:
# REACT_APP_APIKEY: '${{ secrets.REACT_APP_APIKEY }}'
# REACT_APP_AUTHDOMAIN: '${{ secrets.REACT_APP_AUTHDOMAIN }}'
# REACT_APP_PID: '${{ secrets.REACT_APP_PID }}'
# REACT_APP_SB: '${{ secrets.REACT_APP_SB }}'
# REACT_APP_SID: '${{ secrets.REACT_APP_SID }}'
# REACT_APP_APPID: '${{ secrets.REACT_APP_APPID }}'
# REACT_APP_MID: '${{ secrets.REACT_APP_MID }}'
# REACT_APP_RECAPTCHA_SITE_KEY: '${{ secrets.REACT_APP_RECAPTCHA_SITE_KEY }}'
# jobs:
# build_and_preview:
# if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
# runs-on: ubuntu-latest
# steps:
# - name: checkout code
# uses: actions/checkout@v2
# - name: setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# - name: Install Dependencies
# run: npm install
# - name: Build Project
# run: npm ci && npm run build
# - name: Delopy to Preview Server
# uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LULLULAND_2CE97 }}'
# projectId: '${{ secrets.REACT_APP_PID }}'