From bca9ef42942ceeb243e934d8ca7089da8fc4441f Mon Sep 17 00:00:00 2001 From: Kevin Dean Date: Fri, 28 Nov 2025 06:52:08 -0500 Subject: [PATCH 1/4] Replaced "npm install" with "npm clean-install". --- actions/build-test-publish/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/build-test-publish/action.yml b/actions/build-test-publish/action.yml index cb2aa02..dfda303 100644 --- a/actions/build-test-publish/action.yml +++ b/actions/build-test-publish/action.yml @@ -38,7 +38,7 @@ runs: echo "version=$version" >> $GITHUB_OUTPUT echo "label=$label" >> $GITHUB_OUTPUT - npm install + npm clean-install # If version has a label, build in development mode. if [[ "$label" != "" ]] From 8699b6e3364d40d73b1e9cf420d70104bfd9e9a6 Mon Sep 17 00:00:00 2001 From: Kevin Dean Date: Mon, 19 Jan 2026 14:28:09 -0500 Subject: [PATCH 2/4] Refactored build processes. --- actions/build-test-publish/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/build-test-publish/action.yml b/actions/build-test-publish/action.yml index dfda303..9c64212 100644 --- a/actions/build-test-publish/action.yml +++ b/actions/build-test-publish/action.yml @@ -40,12 +40,12 @@ runs: npm clean-install - # If version has a label, build in development mode. + # If version has a label, build in that mode. if [[ "$label" != "" ]] then - npm run build:dev + npm run build:$label else - npm run build:release + npm run build:prod fi - name: Start terminal session (post build) From b8f28273cfea8759ea1e9471ee848dfa00bbe8ab Mon Sep 17 00:00:00 2001 From: Kevin Dean Date: Fri, 6 Feb 2026 13:12:30 -0500 Subject: [PATCH 3/4] Removed release trigger from test reference branch. --- .github/workflows/test-ref-branch.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test-ref-branch.yml b/.github/workflows/test-ref-branch.yml index bb75cd4..f2ef863 100644 --- a/.github/workflows/test-ref-branch.yml +++ b/.github/workflows/test-ref-branch.yml @@ -2,8 +2,6 @@ name: Test reference branch on: push: - release: - types: [published] jobs: test-ref-branch: From fc8a270b176721a3d4be16fe31f70368f00fb7d3 Mon Sep 17 00:00:00 2001 From: Kevin Dean Date: Fri, 6 Feb 2026 13:25:58 -0500 Subject: [PATCH 4/4] Refactored build-test-publish to live on main branch only. --- actions/build-test-publish/action.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/actions/build-test-publish/action.yml b/actions/build-test-publish/action.yml index 9c64212..f66e67e 100644 --- a/actions/build-test-publish/action.yml +++ b/actions/build-test-publish/action.yml @@ -2,9 +2,17 @@ name: Build, test, publish description: Build, optionally test, and optionally publish to NPM inputs: - vars: - description: JSON representation of workflow vars object + node_version: + description: Node version required: true + terminal_pre_build: + description: If true, start a terminal session before building + required: false + default: 'false' + terminal_post_build: + description: If true, start a terminal session after building + required: false + default: 'false' runs: using: composite @@ -13,11 +21,11 @@ runs: - name: Setup node uses: actions/setup-node@v6 with: - node-version: ${{ fromJSON(inputs.vars).NODE_VERSION }} + node-version: ${{ inputs.node_version }} registry-url: https://registry.npmjs.org/ - name: Start terminal session (pre build) - if: fromJSON(inputs.vars).TERMINAL_PRE_BUILD == 'true' + if: inputs.terminal_pre_build == 'true' uses: mxschmitt/action-tmate@v3 - name: Build @@ -49,7 +57,7 @@ runs: fi - name: Start terminal session (post build) - if: fromJSON(inputs.vars).TERMINAL_POST_BUILD == 'true' + if: inputs.terminal_post_build == 'true' uses: mxschmitt/action-tmate@v3 - name: Test