Bump w9jds/firebase-action from 13.12.0 to 13.13.0 (#144) #158
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: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
functions: | |
runs-on: ubuntu-latest | |
env: | |
working-directory: functions/ | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm install | |
working-directory: ${{ env.working-directory }} | |
- name: Run tests | |
run: npm test | |
working-directory: ${{ env.working-directory }} | |
- name: Run lint | |
run: npm run lint | |
working-directory: ${{ env.working-directory }} | |
- uses: codecov/codecov-action@v4 | |
name: "Upload Code Coverage" | |
with: | |
files: ${{ env.working-directory }}/coverage/lcov.info | |