diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 6cf49fe..dde8e22 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -26,6 +26,6 @@ jobs: env: NODE_OPTIONS=--max-old-space-size=8192 run: | npm install - npm run test + npm run ci npm ci npx playwright test diff --git a/package.json b/package.json index 60c9130..e980528 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "start": "remix-serve ./build/server/index.js", "typecheck": "tsc", "watch": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d --remove-orphans && jest --watch --config=jest.config.ts", - "test": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d --remove-orphans && sleep 5 && jest --config=jest.config.ts" + "test": "export $(cat .env.test | xargs) && docker compose -f docker-compose-test.yaml up database -d --remove-orphans && sleep 5 && jest --config=jest.config.ts", + "ci": "export $(cat .env.test | xargs) && jest --config=jest.config.ts" }, "dependencies": { "@remix-pwa/sw": "^3.0.9",