Skip to content

Modernize build

Modernize build #86

Workflow file for this run

name: CI/CD
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install
run: npm ci --legacy-peer-deps --no-audit
- name: Check types
run: npm run type-check
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Build Functions
working-directory: functions
run: |
npm run build
- name: Deploy
run: |
npx firebase deploy --token ${{ secrets.FIREBASE_TOKEN }}