Skip to content

Table login

Table login #26

Workflow file for this run

name: Cloud Functions
on:
pull_request:
types:
- opened
- synchronize
- reopend
jobs:
functions_test:
runs-on: ubuntu-latest
env:
working-directory: ./functions
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
cache-dependency-path: ${{env.working-directory}}/package-lock.json
- name: Install Dependencies
run: npm ci
working-directory: ${{env.working-directory}}
- name: Run Lint
run: npm run lint
working-directory: ${{env.working-directory}}
- name: Build
run: npm run build
working-directory: ${{env.working-directory}}
- name: Cache Firebase Emulators
uses: ./.github/workflows/cache-firebase-emulators-workflow.yml@{{github.sha}}
- name: Run Tests
run: npm run test
working-directory: ${{env.working-directory}}