Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sweep GHA Fix] Fix the failing GitHub Actions #84

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 18.19.0

- name: Install bun
run: npm install --global bun
run: bun install --global bun

- name: Install dependencies
run: bun install

- name: Run test
run: bun run test
run: bun run test:e2e
1 change: 1 addition & 0 deletions app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import startServer, { server } from "./server";
import 'ajv/dist/core';

startServer().catch(console.error);

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test:server": "NODE_DEVELOPMENT=test bun run app.ts",
"test:e2e": "wait-on -l tcp:3000 && stepci run workflow.yml",
"generate": "stepci generate ./specs/openapi.yaml ./specs/generated.yaml",
"preinstall": "npm install ajv@^8.6.0",
"start": "bun app.ts",
"start:prod": "node dist/app.js",
"test": "bunx vitest run",
Expand Down
Loading