Skip to content

Bump actions/checkout from 3 to 4 #48

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #48

name: all-pull-request
on: [pull_request]
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Cache firebase emulators
uses: actions/cache@v3
with:
path: ~/.cache/firebase/emulators
key: ${{ runner.os }}-firebase-emulators-${{ hashFiles('~/.cache/firebase/emulators/**') }}
- run: npm i -g firebase-tools
- run: npm i
- run: npm run lint
- run: npm run tsc
- run: npm test
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
- run: npm run build
- run: npm run link
- run: npm run b-tsc
- run: npm run b-test
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
- uses: codecov/codecov-action@v3