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 eed3469..8b95d25 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -1,28 +1,15 @@ 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: + - '**' 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 build: false - node-version: ${{ inputs.node-version }}