# Cross-platform set of build steps for building esy projects

steps:
  - template: utils/use-node.yml
  - template: utils/use-esy.yml
  - template: utils/restore-build-cache.yml
  - script: esy install
    displayName: 'esy install'
  - script: esy build
    displayName: 'esy build'
  - template: utils/publish-build-cache.yml
  - script: esy x refmt --version
    displayName: 'esy x refmt --version'
  # Run tests or any additional steps here
  # - script: esy b dune runtest
