Skip to content

Commit

Permalink
Fix CI test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Oct 12, 2023
1 parent 37dbbf9 commit bfabb32
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: setup-node@v3
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
cache-dependency-path: "package-lock.json"
check-latest: false
- run: npm ci
- run: npm run generate
- run: CI=true npm run dev
- run: make test
4 changes: 4 additions & 0 deletions scripts/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const start = async () => {
events.on('ceramic', async (isRunning) => {
if (isRunning) {
await bootstrap()
if (process.env.CI) process.exit();
await graphiql()
await next()
}
Expand All @@ -83,3 +84,6 @@ process.on("SIGINT", () => {
process.on("beforeExit", () => {
ceramic.kill();
});
process.on("exit", () => {
ceramic.kill();
});

0 comments on commit bfabb32

Please sign in to comment.