Skip to content

Commit

Permalink
ci: fix test scripts for new Node version
Browse files Browse the repository at this point in the history
`npm bin` appears to no longer be a thing.
  • Loading branch information
thecristen committed Oct 24, 2023
1 parent 93340bc commit 7bc1bd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"postbuild": "mix compile",
"rebuild": "rm -rf _build apps/site/priv/static apps/site/assets/node_modules; npm run install; npm run build",
"dialyzer": "mix dialyzer --halt-exit-status",
"cypress:run": "PORT=4004 $(npm bin --prefix apps/site/assets)/cypress run",
"cypress:open": "PORT=4004 $(npm bin --prefix apps/site/assets)/cypress open",
"test:cypress:run": "$(npm bin --prefix apps/site/assets)/start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:run",
"test:cypress:open": "$(npm bin --prefix apps/site/assets)/start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:open"
"cypress:run": "PORT=4004 npx --prefix apps/site/assets cypress run",
"cypress:open": "PORT=4004 npx --prefix apps/site/assets cypress open",
"test:cypress:run": "npx --prefix apps/site/assets start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:run",
"test:cypress:open": "npx --prefix apps/site/assets start-server-and-test 'MIX_ENV=test PORT=4004 mix phx.server' 4004 cypress:open"
},
"lint-staged": {
"**/*.{ex,exs}": "mix format"
Expand Down

0 comments on commit 7bc1bd9

Please sign in to comment.