From 9ee2f4e668001198725276180fa2053a34315d26 Mon Sep 17 00:00:00 2001 From: Ashley Smith Date: Wed, 29 Jan 2025 14:18:43 -0700 Subject: [PATCH] creating release workflow --- .github/workflows/publish-package-to-npmjs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-package-to-npmjs.yml b/.github/workflows/publish-package-to-npmjs.yml index e9304ce3..4b21be81 100644 --- a/.github/workflows/publish-package-to-npmjs.yml +++ b/.github/workflows/publish-package-to-npmjs.yml @@ -32,13 +32,16 @@ jobs: with: release_type: ${{ inputs.release_type }} secrets: inherit - publishForJsSdk: - uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-docker-versioned.yaml@v3 + createNpmJsRelease: + uses: IABTechLab/uid2-shared-actions/actions/shared_create_releases/action.yaml needs: incrementVersionNumber with: + is_release: true new_version: ${{ needs.incrementVersionNumber.outputs.new_version }} image_tag: ${{ needs.incrementVersionNumber.outputs.image_tag }} - release_type: ${{ inputs.release_type }} + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_platform: Docker + repo: secrets: inherit build: runs-on: ubuntu-latest