Skip to content

Merge pull request #248 from concord-consortium/187653588-remove-firs… #243

Merge pull request #248 from concord-consortium/187653588-remove-firs…

Merge pull request #248 from concord-consortium/187653588-remove-firs… #243

name: Run Firestore and QueryCreator Tests
on:
push:
paths:
- 'functions/**'
- 'query-creator/**'
jobs:
test_rules:
name: Firestore Access Rule Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18'
- run: npm install -g firebase-tools
- run: npm ci
working-directory: tests
- run: firebase -c ../firebase.json emulators:exec --only firestore "npm test"
working-directory: tests
test_query_creator:
name: Query Creator Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18'
- run: npm ci
working-directory: query-creator/create-query
- run: npm run test
working-directory: query-creator/create-query