Compilation is splitted into a few steps.
To compile all contracts (without lambdas) run the next command:
yarn compile
To run all the tests execute the next command:
yarn test
To deploy the contracts you should run the following command:
yarn migrate
By default, the contracts will be deployed to the development
network.
Also, you can deploy to the mainnet
yarn migrate-mainnet