Skip to content

Upgrade to node 18

Upgrade to node 18 #28

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: npm
- uses: actions/cache@v3
with:
path: |
~/.cache/firebase/emulators
key: ${{ runner.os }}-firebase-emulators
- run: npm install
- run: npm install -g firebase-tools
- run: cd functions && npm install
- name: Run Tests
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: npm run test -- --ci --color