Skip to content

Commit

Permalink
added github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aalej committed Sep 6, 2024
1 parent f2fa4cd commit 3afac2c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
name: Perform `firebase emulators:exec "npm run jest"`
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install function modules
run: |
cd functions
npm install
- name: Install `firebase-tools` module globally
run: npm install -g firebase-tools
- name: Run `firebase emulators:exec "npm run jest"`
run: firebase emulators:exec "npm run jest"

0 comments on commit 3afac2c

Please sign in to comment.