From 9239f9a5d0a2bde3926f305976169588cc582f93 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 00:54:31 -0400 Subject: [PATCH 2/8] fix(debug): add debug to ci, npm not publishing correctly --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7056be6..657dbb1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ workflows: - /^develop-.*$/ - node/run: name: release - npm-run: semantic-release + npm-run: semantic-release --dry-run --debug requires: - build filters: From 6d3a296d0078ef11366c0d46d2c9897610fbc467 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 00:56:34 -0400 Subject: [PATCH 3/8] fix(debug): move debug args --- .circleci/config.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 657dbb1..7056be6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ workflows: - /^develop-.*$/ - node/run: name: release - npm-run: semantic-release --dry-run --debug + npm-run: semantic-release requires: - build filters: diff --git a/package.json b/package.json index 4200e66..b81640e 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "scripts": { "prepare": "presetter bootstrap", "build": "presetter run build", - "semantic-release": "semantic-release" + "semantic-release": "semantic-release --dry-run --debug" }, "dependencies": { "@noble/curves": "^1.1.0", From 78fb14258efa4481dd5f9e1e1dccc2f042374f68 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:09:18 -0400 Subject: [PATCH 4/8] ci: setup workspace between jobs --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7056be6..2d210b8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,12 @@ workflows: - node/run: name: build npm-run: build + setup: + - persist_to_workspace: + path: ./ + paths: + - lib/ + filters: branches: only: @@ -35,3 +41,5 @@ workflows: - "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9" - ssh/ssh-add-host: host_url: GITEA_HOST + - attach_workspace: + at: ./ From 943b44aa0cf175cb5fb21f661c94cfe3511caad2 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:15:14 -0400 Subject: [PATCH 5/8] ci: fix workspace config --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2d210b8..6eb8185 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ workflows: npm-run: build setup: - persist_to_workspace: - path: ./ + root: . paths: - lib/ From 1bb7db33860b9dfa9f9a9d497027df1972bdd54d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:18:43 -0400 Subject: [PATCH 6/8] ci: switch to pre-steps/post-steps --- .circleci/config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6eb8185..28b651a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,11 +9,11 @@ workflows: - node/run: name: build npm-run: build - setup: - - persist_to_workspace: - root: . - paths: - - lib/ + post-steps: + - persist_to_workspace: + root: . + paths: + - lib/ filters: branches: @@ -35,11 +35,12 @@ workflows: context: - publish + pre-steps: + - attach_workspace: + at: ./ 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 - - attach_workspace: - at: ./ From 696947111e5a4b43d4d268920505d12e7f37d98b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:20:36 -0400 Subject: [PATCH 7/8] ci: move attach_workspace to setup --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 28b651a..9a1f9d7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,10 +35,9 @@ workflows: context: - publish - pre-steps: - - attach_workspace: - at: ./ setup: + - attach_workspace: + at: ./ - add_ssh_keys: fingerprints: - "47:cf:a1:17:d9:81:8e:c5:51:e5:53:c8:33:e4:33:b9" From e0834c3ca9a66e23c175d5b656a9e2454417362a Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 20 Jun 2023 01:26:04 -0400 Subject: [PATCH 8/8] revert: debugging ref: 6d3a296d0078ef11366c0d46d2c9897610fbc467, 9239f9a5d0a2bde3926f305976169588cc582f93 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b81640e..4200e66 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "scripts": { "prepare": "presetter bootstrap", "build": "presetter run build", - "semantic-release": "semantic-release --dry-run --debug" + "semantic-release": "semantic-release" }, "dependencies": { "@noble/curves": "^1.1.0",