chore(dev-deps): update typescript-eslint monorepo to v7.10.0 #2874
Workflow file for this run
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: Verify | |
on: [pull_request] | |
concurrency: | |
group: verify-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'yarn' | |
- name: Get cache settings | |
id: cache-settings | |
run: | | |
fbToolsVersion=$(yarn info firebase-tools --json --name-only | sed 's/.*@npm\://g' | sed 's/"$//') | |
echo "firebase-tools version $fbToolsVersion" | |
echo "firebase-tools=$fbToolsVersion" >> $GITHUB_OUTPUT | |
- name: Cache Firebase Emulator Binaries | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/firebase/emulators | |
key: ${{ runner.os }}-${{ matrix.node-version }}-firebase-${{ steps.cache-settings.outputs.firebase-tools }} | |
- name: Install Dependencies | |
run: yarn install --immutable | |
- name: Check For Lint | |
run: yarn lint | |
- name: Check Formatting | |
run: yarn format:check | |
- name: Run Unit Tests + Coverage | |
run: yarn test:cov | |
- name: Upload Test Coverage | |
uses: codecov/codecov-action@v4 | |
if: matrix.node-version == '20.x' | |
with: | |
fail_ci_if_error: false | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Run Build | |
run: yarn build | |
- name: Size Check | |
uses: andresz1/size-limit-action@v1 | |
if: matrix.node-version == '20.x' | |
env: | |
CI_JOB_NUMBER: 1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
skip_step: install # Skip install since it happens above |