Bump the npm_and_yarn at /firebase/cloud_functions/functions security update group in /firebase/cloud_functions/functions with 2 updates #280
Workflow file for this run
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
# This file was auto-generated by the Firebase CLI | |
# https://github.com/firebase/firebase-tools | |
name: Deploy web preview | |
on: pull_request | |
jobs: | |
build_and_preview: | |
if: ${{ github.event.pull_request.head.repo.full_name == 'Ramaz-Upper-School/RamLife' }} | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./repo | |
steps: | |
- name: Get Flutter from the cache | |
id: cache-flutter | |
uses: actions/cache@v2 | |
with: | |
path: flutter/ | |
key: ${{ runner.os }}-flutter | |
- name: Install Flutter | |
if: steps.cache-flutter.outputs.cache-hit != 'true' | |
uses: britannio/[email protected] | |
- uses: actions/checkout@v2 | |
with: | |
path: repo | |
- name: Add Flutter to path | |
run: echo "../flutter/bin" >> $GITHUB_PATH | |
- name: Build web app | |
run: flutter build web | |
- name: Deploy to preview channel | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMAZ_GO }}' | |
projectId: ramaz-go | |
entryPoint: ./repo | |
channelId: live | |
target: test | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |