Skip to content

adding yarn binary

adding yarn binary #51

# This file is modified from the auto-generated version from the Firebase CLI
# https://github.com/firebase/firebase-tools
name: PR Deploy Preview to Firebase Hosting
on: pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:

Check failure on line 14 in .github/workflows/firebase-hosting-pull-request.yml

View workflow run for this annotation

GitHub Actions / PR Deploy Preview to Firebase Hosting

Invalid workflow file

The workflow is not valid. .github/workflows/firebase-hosting-pull-request.yml (Line: 14, Col: 14): Unexpected value ''
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.0.0'
cache: 'yarn'
- name: Enable Corepack
run: corepack enable
- name: Install and Build 🔧
run: |
yarn install
yarn build:all
- name: Deploy 🚀
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CODEOFMUSIC_16A81 }}'
projectId: codeofmusic-16a81