Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

feat: total stats

feat: total stats #299

name: Validate and publish functions
on:
- push
env:
working-directory: Firebase/functions
jobs:
check-format:
name: Check format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i --legacy-peer-deps --prefix ${{ env.working-directory }}
- name: Check format
run: npm run format --prefix ${{ env.working-directory }}
check-lint:
name: Check lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i --legacy-peer-deps --prefix ${{ env.working-directory }}
- name: Check lint
run: npm run lint --prefix ${{ env.working-directory }}
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i --legacy-peer-deps --prefix ${{ env.working-directory }}
- name: Test
run: npm t --prefix ${{ env.working-directory }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm i --legacy-peer-deps --prefix ${{ env.working-directory }}
- name: Build
run: npm run build --prefix ${{ env.working-directory }}