Add unit tests and fix map load

This commit is contained in:
Conor McNamara
2023-03-20 16:15:01 +00:00
parent c408f21d91
commit aa4fd87de1
8 changed files with 9414 additions and 14 deletions

View File

@ -17,6 +17,9 @@ jobs:
run: |
npm ci
cd functions && npm ci
- name: Run Vue.js unit tests
run: npm run test:unit
- run: npm run build
- uses: w9jds/firebase-action@master
@ -24,6 +27,10 @@ jobs:
args: deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
- name: Run Firebase integration tests
run: npm run test
working-directory: ./functions
- name: Update Firestore database with train data
uses: satak/webrequest-action@master