Skip to content

Merge pull request #37 from rusudinu/feature/#36-request-an-advisor-b… #20

Merge pull request #37 from rusudinu/feature/#36-request-an-advisor-b…

Merge pull request #37 from rusudinu/feature/#36-request-an-advisor-b… #20

Workflow file for this run

name: Deploy to qa
'on': pull_request
jobs:
deploy_qa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Cache node modules
id: cache-nodemodules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install Dependencies
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: |
yarn install --frozen-lockfile
- name: Build
run: |
yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LUCRA_EXPENSES }}'
projectId: lucra-expenses