Skip to content

Upgrade dependencies #363

Upgrade dependencies

Upgrade dependencies #363

Workflow file for this run

name: CI
on:
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 16
- uses: actions/setup-java@v1
with:
java-version: 13
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile
- run: yarn test
- run: yarn test:emulator
- name: Run function tests
run: |
cd functions
yarn install --frozen-lockfile
yarn test
yarn test:emulator
- run: yarn build