Skip to content

feat: introduce v3

feat: introduce v3 #74

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy Feature Branch
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
# Checkout
- uses: actions/checkout@v3
# Build
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build website
run: yarn build
# Deploy
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GAME_CI_5559F }}'
projectId: game-ci-5559f