Skip to content

change to scss and various other edits #36

change to scss and various other edits

change to scss and various other edits #36

Workflow file for this run

name: Deploy to Firebase Hosting
on:
push:
branches:
- master
- vite_ver
- nodejs-backend-test
pull_request:
types: [closed]
branches:
- master
- vite_ver
- nodejs-backend-test
jobs:
build:
if: github.event.pull_request.merged == true || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/vite_ver'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies for frontend
run: |
cd frontend
pnpm install --no-frozen-lockfile
- name: Build frontend
run: |
cd frontend
pnpm run build
- name: Install dependencies for backend
run: |
cd backend
pnpm install --no-frozen-lockfile
- name: Deploy to Firebase Hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: |
npm install -g firebase-tools
cd backend
firebase deploy --only hosting,functions