Skip to content

Updated routes.js and fixed tests due to changes to createTeamRequest. #19

Updated routes.js and fixed tests due to changes to createTeamRequest.

Updated routes.js and fixed tests due to changes to createTeamRequest. #19

Workflow file for this run

name: On-Push CI
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: server/package-lock.json
- name: Set NODE_ENV to development
run: echo "NODE_ENV=development" >> $GITHUB_ENV
working-directory: ./server
- name: Install packages
run: npm i
working-directory: ./server
- name: Generate Prisma
run: npx prisma generate
working-directory: ./server
- name: Test
run: npx jest
working-directory: ./server