Skip to content

Commit

Permalink
build and start app
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-hendrix committed Jul 7, 2023
1 parent d1f95c7 commit c0f8a8a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,26 @@ jobs:
echo "DATABASE_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOSTNAME:$POSTGRES_PORT/$POSTGRES_DB?schema=public" >> $GITHUB_ENV
echo "NEXTAUTH_URL=$PROTOCOL://$HOSTNAME:$PORT" >> $GITHUB_ENV
echo "CYPRESS_BASE_URL=$PROTOCOL://$HOSTNAME:$PORT" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v3

- name: Install dependencies
run: npm install

- name: Migrate prisma schema
run: npm run migrate

- name: Run lint
run: npm run lint

- name: Build app
run: npm run build

- name: Start app
run: |
npm run start
sleep 10
- name: Run jest tests
run: npm run jest

0 comments on commit c0f8a8a

Please sign in to comment.