Skip to content

Update dependency firebase-admin to v13 #516

Update dependency firebase-admin to v13

Update dependency firebase-admin to v13 #516

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run coverage analysis to upload to Codacy
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Cache
uses: actions/cache@v4.1.2
with:
path: node_modules
key: v1-${{ hashFiles('bun.lockb') }}
restore-keys: v1-
- run: bun install
- run: bun test --coverage --coverage-reporter=lcov
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: coverage/lcov.info
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}