This skill creates a GitHub check with a success status if there are no
confusing dependencies when lein deps :tree
is run, or a failure status
otherwise
It also indexes all the dependencies in a project and attaches them to the commit
Dependencies in lein can have clashing transitive dependencies which can lead to unexpected runtime behaviour, so it makes sense to exclude any clashes explicitly from the classpath to keep it clean.
-
Run build server
npm install npm run build:watch
The build server will have created an Nrepl server:
shadow-cljs - nREPL server started on port 62170 shadow-cljs - watching build :dev
-
start a Node host running index.js
Initialize with environment variables to set up the context for the skill by editing
run-local.sh
to your needsNote that
ATOMIST_PAYLOAD
should reference a file with Pushapplication/json
content (with secrets). (see payload.json)and
ATOMIST_HOME
should point at cloned copy of this Repo. I have also usedGOOGLE_APPLICATION_CREDENTIALS
to test against a real Test PubSub Topic. In the container, you'll have the response topic available, and the container identity will ensure that Topic publishes work. -
switch repl to connect to this new Node.js process
(shadow/repl :dev) (atomist.main/handler) ;; to run the handler
Created by Atomist. Need Help? Join our Slack workspace.