Skip to content

minor CI build changes #420

minor CI build changes

minor CI build changes #420

Workflow file for this run

name: Build & test front & functions project
on: [push, pull_request]
jobs:
build:
name: Build & test front & functions project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install bun
uses: oven-sh/setup-bun@v1
- run: bun install --frozen-lockfile
- run: bun run build
- run: bun run tscheck
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version-file: ./functions/.nvmrc
- name: Build serverless functions
working-directory: ./functions
run: |
npm ci
npm run build
- name: Test serverless functions
working-directory: ./functions
run: npm run test