chore(deps): update frontend-minor #917
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: frontend-pull-request | |
on: | |
pull_request: | |
paths: | |
- "frontend/**" | |
- ".github/workflows/frontend-pull-request.yml" | |
jobs: | |
frontend-pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- name: Check yarn cache and build | |
run: | | |
cd frontend | |
yarn install --check-cache | |
yarn build | |
- name: Deploy preview channel | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_KALKULIERBAR_8EDA1 }}" | |
projectId: kalkulierbar-8eda1 | |
entryPoint: ./frontend | |
expires: 30d | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |