From 19d8c97930a4e38e5f117c48169a0518860d0e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Fri, 20 Jun 2025 21:33:31 -0600 Subject: [PATCH 1/5] fix: Correct test CI file --- .github/workflows/test-pr.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index eed3469..775ec6a 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -1,21 +1,21 @@ name: Test Pull Request on: - pull_request: - branches: - - ** - workflow_dispatch: - inputs: - node-version: - description: Node.js version to use. - required: false - type: choice - options: - - '18' - - '20' - - '22' - - '24' - default: '24' + pull_request: + branches: + - ** + workflow_dispatch: + inputs: + node-version: + description: Node.js version to use. + required: false + type: choice + options: + - '18' + - '20' + - '22' + - '24' + default: '24' jobs: test: From 678e44ded71ccb4449703626c35154a6422e837d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Fri, 20 Jun 2025 21:34:46 -0600 Subject: [PATCH 2/5] fix: Arrays --- .github/workflows/test-pr.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 775ec6a..33ecd84 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -3,7 +3,7 @@ name: Test Pull Request on: pull_request: branches: - - ** + - ** workflow_dispatch: inputs: node-version: @@ -11,10 +11,10 @@ on: required: false type: choice options: - - '18' - - '20' - - '22' - - '24' + - '18' + - '20' + - '22' + - '24' default: '24' jobs: From 412a06f04c6a4af5627a37ece0f9521bde4198c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Fri, 20 Jun 2025 21:35:41 -0600 Subject: [PATCH 3/5] fix: Branches --- .github/workflows/test-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 33ecd84..0d04eda 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -3,7 +3,7 @@ name: Test Pull Request on: pull_request: branches: - - ** + - '**' workflow_dispatch: inputs: node-version: From 9bd9258be820cb6eda472963982cb52551055894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Fri, 20 Jun 2025 21:36:52 -0600 Subject: [PATCH 4/5] fix: WF ref --- .github/workflows/test-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 0d04eda..aa79f05 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -20,7 +20,7 @@ on: jobs: test: name: Unit Testing - uses: WJSoftware/cicd/.github/workflows/npm-test.yml@0.1.0 + uses: WJSoftware/cicd/.github/workflows/npm-test.yml@v0.1.0 secrets: inherit with: pwsh: false From eb501d3d07bdf95832fddd9a9d649cb97a987a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramirez=20Vargas=2C=20Jos=C3=A9=20Pablo?= Date: Fri, 20 Jun 2025 21:44:34 -0600 Subject: [PATCH 5/5] fix --- .github/workflows/publish.yml | 6 +++--- .github/workflows/test-pr.yml | 13 ------------- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7008fcb..d9bab60 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,9 +22,9 @@ on: jobs: publish: name: Publish NPM Package - uses: WJSoftware/cicd/.github/workflows/npm-publish.yml@0.1.0 + uses: WJSoftware/cicd/.github/workflows/npm-publish.yml@v0.1.0 secrets: inherit with: node-version: ${{ inputs.node-version }} - npm-tag: latest - dry-run: ${{ inputs.dry-run }} + npm_tag: latest + dry_run: ${{ inputs.dry-run }} diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index aa79f05..8b95d25 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -4,18 +4,6 @@ on: pull_request: branches: - '**' - workflow_dispatch: - inputs: - node-version: - description: Node.js version to use. - required: false - type: choice - options: - - '18' - - '20' - - '22' - - '24' - default: '24' jobs: test: @@ -25,4 +13,3 @@ jobs: with: pwsh: false build: false - node-version: ${{ inputs.node-version }}