Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitano committed Mar 16, 2023
1 parent 230b99a commit 56dde06
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
testCodebase:
Expand Down Expand Up @@ -36,14 +36,14 @@ jobs:
- run: npm run dev -- -- --ci

# This is what the user would do, minus actually starting the application
- run: cd my-gits-app && npx prisma generate
- run: cd morpheme-app && npx prisma generate

# start app and curl from it
- run: "cd my-gits-app && timeout 30 npm run dev & (sleep 10 && curl --fail localhost:3000)"
- run: "cd morpheme-app && timeout 30 npm run dev & (sleep 10 && curl --fail localhost:3000)"

# build app, start it in prod mode and curl from it
# - run: "cd my-gits-app && npm run build && timeout 30 npm run preview & (sleep 10 && curl --fail localhost:3000)"
# - run: "cd my-gits-app && npm run build"
# - run: "cd morpheme-app && npm run build && timeout 30 npm run preview & (sleep 10 && curl --fail localhost:3000)"
# - run: "cd morpheme-app && npm run build"

publish:
needs: [testCli, testCodebase]
Expand Down

0 comments on commit 56dde06

Please sign in to comment.