- NodeJS
- Docker
npm run lint // Will autofix issues
npm run lint:ci // No autofix enabled
npm run test # Runs both test in parallel
npm run test:dom
npm run test:node
npm run itest # Runs both test in parallel
npm run itest:dom
npm run itest:node
If you're using Docker Desktop, please set
export DOCKER_HOST=unix:///Users/$(whoami)/Library/Containers/com.docker.docker/Data/docker.raw.sock
You can use npm install <directory of this project>
to install the driver locally in your other node test projects.
Don't forget to (re)build the driver using npm run build
to see your changes reflected.
In case of unexplainable errors in your tests it might help to remove the entire /dist
folder before rebuilding.
- Run project-keeper and release-droid to create a GitHub release draft as you usually would.
- Upon publishing the draft release on github the release workflow for npm will be triggered.
- The npm token is kept in a secret, then set as an environment variable in the
release.yml
workflow. - The added
.npmrc
file contains a setting that enables reading out this environment variable while publishing. - For a scoped release you need to explicitly specify that you wish to release a public release using
publish --access public
.