Skip to content

/cashier-mini 背景をグラデーションに #218

/cashier-mini 背景をグラデーションに

/cashier-mini 背景をグラデーションに #218

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: pos / preview
on:
pull_request:
paths:
- "pos/**"
- "common/**"
- ".github/workflows/pos-firebase-hosting-pull-request.yml"
defaults:
run:
working-directory: ./pos
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
name: Deploy to Firebase Hosting
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('./bun.lockb') }}
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: bun install --frozen-lockfile
- run: bun run build
env:
VITE_WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CAFEORE_2024 }}
projectId: cafeore-2024
entryPoint: "pos"