     :aptitude ["npm"]))
 
 (s/defn
+  init-nodejs
+  [facility :- s/Keyword
+   config :- NodeJs]
+  (let [{:keys [version]} config]
+    (actions/as-action
+      (logging/info (str facility "-init system: init-nodejs")))
+    (actions/package-source (str "nodejs_" version)
+      :aptitude
+      {:url (str "https://deb.nodesource.com/node_" version)
+       :release "bionic"
+       :scopes ["main"]
+       :key-url "https://deb.nodesource.com/gpgkey/nodesource.gpg.key"})))
+
+(s/defn
   install-nodejs
   "get and install install-nodejs"
   [facility :- s/Keyword

            "https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh")
    ("chmod" "755" "boot")))

(s/defn install-system
  [facility :- s/Keyword
   contains-java-script? :- s/Bool

  (let [{:keys [version]} config]
    (actions/as-action
      (logging/info (str facility "-install system: install-nodejs")))
    (actions/packages :aptitude ["nodejs"])))

(s/defn
  init-yarn
  [facility :- s/Keyword]
  (actions/as-action
    (logging/info (str facility "-init system: init-yarn")))
  (actions/package-source "yarn"
    :aptitude
    {:url "https://dl.yarnpkg.com/debian/"
     :release "stable"
     :scopes ["main"]
     :key-url "https://dl.yarnpkg.com/debian/pubkey.gpg"}))

(s/defn
  install-yarn
