Skip to content

Commit

Permalink
Run firestore tests as part of GitHub actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter H. Juliussen committed Oct 16, 2023
1 parent 2628e2b commit 95dccaa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,22 @@ jobs:
!~/cache/exclude
**/node_modules
~/.cache
~/root/.cache/firebase/emulators
key: ${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ hashFiles('package-lock.json') }}
- name: Use Node.js ${{matrix.node-version}}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ matrix.node-version }}

- name: Use Java
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0
with:
distribution: 'zulu'
java-version: '17.x'

- name: npm install
run: |
npm ci
Expand All @@ -50,5 +57,6 @@ jobs:
- name: npm test:unit
run: |
npm run test:unit
npm run test:unit:firestore
env:
CI: true

0 comments on commit 95dccaa

Please sign in to comment.