Skip to content

chore(photos): extract repeated components, add loading pages #4

chore(photos): extract repeated components, add loading pages

chore(photos): extract repeated components, add loading pages #4

name: Deploy Firebase to DEV
on:
push:
branches:
- develop
jobs:
deploy-firebase:
runs-on: ubuntu-latest
steps:
- name: Checkout develop branch
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: develop
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
uses: pnpm/action-setup@v4
id: pnpm-install
with:
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Build functions
run: pnpm build --filter=functions
- name: Deploy to Firebase
uses: w9jds/firebase-action@master
with:
args: deploy -P dev --force
env:
GCP_SA_KEY: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_DEV }}