Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/firebase-functions-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Firebase Functions Tests

on:
push:
branches: [main, develop]
paths:
- "openci-runner/firebase/functions/**"
- ".github/workflows/firebase-functions-tests.yml"
pull_request:
branches: [main, develop]
paths:
- "openci-runner/firebase/functions/**"
- ".github/workflows/firebase-functions-tests.yml"

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: [20, 22]
defaults:
run:
working-directory: openci-runner/firebase/functions
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test
13 changes: 12 additions & 1 deletion .github/workflows/github-apps-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,23 @@ name: GitHub Apps Tests
on:
push:
branches: [main, develop]
paths:
- "openci-runner/github-apps/**"
- ".github/workflows/github-apps-tests.yml"
pull_request:
branches: [main, develop]
paths:
- "openci-runner/github-apps/**"
- ".github/workflows/github-apps-tests.yml"

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
node-version: [20, 22]
defaults:
run:
working-directory: openci-runner/github-apps
Expand All @@ -19,7 +30,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci
Expand Down
Loading