Skip to content

Release/2024 02 23

Release/2024 02 23 #6

name: Backend Unit
on:
pull_request:
branches:
- main
env:
APP_SECRET: 'SOME-LONG-SECRET-KEY'
DATABASE_URL: postgres://bloom-dev:[email protected]:5432/bloom
EMAIL_API_KEY: 'SG.SOME-LONG-SECRET-KEY'
jobs:
backend-unit:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: yarn in api
working-directory: ./api
run: yarn
# Tests
- name: yarn unit test api
working-directory: ./api
run: yarn test