Make a separate npm script for ci
Test / test (push) Successful in 1m1s Details

This commit is contained in:
Jeff 2024-10-19 17:27:00 -04:00
parent 8feb9bd37a
commit b992443a99
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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",