2023-12-06 16:25:50 -05:00
|
|
|
name: Build Functions
|
|
|
|
run-name: Build Functions
|
|
|
|
|
|
|
|
on:
|
2023-12-11 21:32:05 -05:00
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'firebase/**'
|
|
|
|
- 'functions/**'
|
2023-12-06 16:25:50 -05:00
|
|
|
|
|
|
|
jobs:
|
2023-12-11 21:32:05 -05:00
|
|
|
build:
|
|
|
|
name: Build NPM Project
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: node
|
|
|
|
steps:
|
|
|
|
- name: Clone Repository
|
|
|
|
uses: ztimson/actions/clone@develop
|
2023-12-06 16:25:50 -05:00
|
|
|
|
2023-12-11 21:32:05 -05:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: npm i
|
|
|
|
working-directory: functions
|
2023-12-06 16:25:50 -05:00
|
|
|
|
2023-12-11 21:32:05 -05:00
|
|
|
- name: Build Project
|
|
|
|
run: npm run build
|
|
|
|
working-directory: functions
|