[Snyk] Upgrade react-hook-form from 7.52.1 to 7.52.2 #289
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 to Firebase Hosting on PR | |
'on': pull_request | |
jobs: | |
build_and_preview: | |
env: | |
API_KEY: ${{ secrets.API_KEY }} | |
CLIENT_ID: ${{ secrets.CLIENT_ID }} | |
AUTO_FILL_ENDPOINT: ${{ secrets.AUTO_FILL_ENDPOINT }} | |
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' | |
runs-on: ubuntu-latest | |
permissions: | |
deployments: write | |
pull-requests: write | |
checks: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create GitHub deployment | |
uses: chrnorm/[email protected] | |
id: deployment | |
with: | |
token: '${{ secrets.GITHUB_TOKEN }}' | |
environment-url: https://free-location-sheet-staging-fd228.web.app/ | |
environment: staging | |
- name: Setup Ruby, JRuby and TruffleRuby | |
uses: ruby/[email protected] | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: build | |
run: | | |
ruby settings_writer.rb | |
npm i && npm run build:staging | |
- name: deploy | |
uses: FirebaseExtended/[email protected] | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_QUICKSTART_1614336716847 }}' | |
channelId: live | |
target: free-location-sheet-staging-fd228 | |
projectId: quickstart-1614336716847 | |
- name: Update deployment status (success) | |
if: success() | |
uses: chrnorm/[email protected] | |
with: | |
token: '${{ secrets.GITHUB_TOKEN }}' | |
environment-url: https://free-location-sheet-staging-fd228.web.app/ | |
environment: staging | |
state: 'success' | |
deployment-id: ${{ steps.deployment.outputs.deployment_id }} |