Fix await when creating formats and categories #435
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |