mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 20:55:56 +08:00
ok fixed
This commit is contained in:
parent
4e5feca3dd
commit
ede7aec1f9
17
.github/workflows/test-server.yml
vendored
17
.github/workflows/test-server.yml
vendored
@ -33,6 +33,7 @@ env:
|
||||
RUNPOD_MU_API_KEY: ${{ secrets.RUNPOD_MU_API_KEY }}
|
||||
GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }}
|
||||
GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }}
|
||||
GCS_INDEX_BUCKET_NAME: ${{ secrets.GCS_INDEX_BUCKET_NAME }}
|
||||
GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }}
|
||||
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
@ -115,11 +116,11 @@ jobs:
|
||||
- name: Kill instances
|
||||
if: always()
|
||||
run: pkill -9 node
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: Logs
|
||||
path: |
|
||||
./apps/api/api.log
|
||||
./apps/api/worker.log
|
||||
./apps/api/index-worker.log
|
||||
# - uses: actions/upload-artifact@v4
|
||||
# if: always()
|
||||
# with:
|
||||
# name: Logs
|
||||
# path: |
|
||||
# ./apps/api/api.log
|
||||
# ./apps/api/worker.log
|
||||
# ./apps/api/index-worker.log
|
@ -15,7 +15,7 @@
|
||||
"test:local-no-auth": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_withAuth/*'",
|
||||
"test:full": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='(src/__tests__/e2e_noAuth|src/__tests__/e2e_withAuth)'",
|
||||
"test:prod": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='(src/__tests__/e2e_noAuth|src/__tests__/e2e_full_withAuth|src/scraper/scrapeURL)'",
|
||||
"test:snips": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false src/__tests__/snips/scrape.test.ts",
|
||||
"test:snips": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false src/__tests__/snips/*.test.ts",
|
||||
"workers": "nodemon --exec ts-node src/services/queue-worker.ts",
|
||||
"worker:production": "node dist/src/services/queue-worker.js",
|
||||
"index-worker": "nodemon --exec ts-node src/services/indexing/index-worker.ts",
|
||||
|
@ -97,8 +97,8 @@ describe("Scrape tests", () => {
|
||||
}, 30000);
|
||||
});
|
||||
|
||||
describe.only("Index", () => {
|
||||
it.only("caches properly", async () => {
|
||||
describe("Index", () => {
|
||||
it.concurrent("caches properly", async () => {
|
||||
const id = crypto.randomUUID();
|
||||
const url = "https://firecrawl.dev/?testId=" + id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user