Make a separate npm script for ci
Test / test (push) Successful in 1m1s
Details
Test / test (push) Successful in 1m1s
Details
This commit is contained in:
parent
8feb9bd37a
commit
b992443a99
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue