Skip to content

Merge pull request #203 from concord-consortium/fix-quote-escaping #208

Merge pull request #203 from concord-consortium/fix-quote-escaping

Merge pull request #203 from concord-consortium/fix-quote-escaping #208

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: '16'
- 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: '16'
- run: npm ci
working-directory: query-creator/create-query
- run: npm run test
working-directory: query-creator/create-query