From 93c110c7554099ab5196d1b1a1fd8436a7e8687d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 23 Apr 2023 08:35:53 -0400 Subject: [PATCH] ci: move setup job to be steps under the setup in node/run --- .circleci/config.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d298365..7056be6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,23 +3,9 @@ version: 2.1 orbs: node: circleci/node@5.1.0 ssh: credijusto/ssh@0.5.2 -jobs: - setup: - docker: - - image: "cimg/node:lts" - steps: - - add_ssh_keys: - fingerprints: - - "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9" - - checkout - - ssh/ssh-add-host: - host_url: GITEA_HOST workflows: release: jobs: - - setup: - context: - - publish - node/run: name: build npm-run: build @@ -43,3 +29,9 @@ workflows: context: - publish + setup: + - add_ssh_keys: + fingerprints: + - "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9" + - ssh/ssh-add-host: + host_url: GITEA_HOST