Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

feat: serve static files and handle client-side routing in server con… #42

feat: serve static files and handle client-side routing in server con…

feat: serve static files and handle client-side routing in server con… #42

Workflow file for this run

name: Continuous Integration for Backend
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Set up environment variables
run: |
cd backend
echo "${{ secrets.ENV_FILE }}" > .env
echo "BUILD_MODE=dev" >> .env
echo "TEST_DATABASE_NAME= taskflow_test" >> .env
- name: Run tests
working-directory: backend
run: |
yarn install
yarn test