- Node v18 (managed using nvm)
On OSX (using homebrew):
brew install nvm
- Follow the instructions in the brew installer output
Install Node version 18
nvm install 18
(you may need to downgrade your NPM to v9 to make it work with wmt-worker)
npm install -g npm@9
Install Husky
npm install -g husky
Run prepare task
npm run prepare
This is the asynchronous worker for the WMT project. It is responsible for
polling the app.tasks
table, picking up tasks which are marked as PENDING
,
processing them and recording the result.
npm start
To run the unit tests run:
npm test
To run the integration tests run:
docker compose up -d
npm run integration-test