Installing Elm in AppVeyor CI (Windows)


I’m working on a PR to run-elm and would like to test everything on Windows. AppVeyor CI seems to be the right choice as I’ve seen it being used in other open-source projects in parallel to Travis CI or Circle CI (linux).

Writing appveyor.yml and hooking to the API seems straightforward in general, since run-elm is a pretty standard npm project and there are lots of examples around. What seems a bit challenging though is to install Elm globally as a part of a job so that by the time I call npm test, elm can be found in PATH.

It’d be great if this thread became a collection of Elm setup examples for AppVeyor CI and other Windows-supporting CI runners. Who could share one?


We install it with npm install -g elm for the elm-test CLI Appveyor config!


This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.