Bump firebase #1666
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
name: Unit test, log code coverage, and build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install dependencies | |
run: yarn install | |
# Build before running unit tests so that built types are updated before | |
# running types unit tests (`tsc`). | |
- name: Build | |
run: yarn run build | |
- name: Run tests | |
run: yarn test # generates coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
- name: Check bundle sizes | |
run: yarn run bundlesize:no-build | |
env: | |
BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} |