From 7025e9274d07aabdfe455643059fea0b43986908 Mon Sep 17 00:00:00 2001 From: Thomas Harold Date: Tue, 28 May 2024 11:28:50 -0400 Subject: [PATCH] Upgrade to use JFrog workflows v1.16.5 --- .github/workflows/pr-build.yml | 2 +- .github/workflows/pr-merged.yml | 11 +++++++++-- .github/workflows/version-tag-build-master.yml | 10 ++++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 969d58d..5a5564a 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -16,7 +16,7 @@ on: jobs: pr-build: - uses: ritterim/public-github-actions/.github/workflows/npm-packages-pr-build.yml@v1.9.0 + uses: ritterim/public-github-actions/.github/workflows/npm-packages-pr-build.yml@v1.16.5 #uses: ./.github/workflows/npm-packages-pr-build.yml with: always_increment_patch_version: true diff --git a/.github/workflows/pr-merged.yml b/.github/workflows/pr-merged.yml index 365c7f9..67f33ad 100644 --- a/.github/workflows/pr-merged.yml +++ b/.github/workflows/pr-merged.yml @@ -19,8 +19,8 @@ on: jobs: npm-packages-pr-create-tag: - uses: ritterim/public-github-actions/.github/workflows/npm-packages-pr-create-tag.yml@v1.9.0 - #uses: ./.github/workflows/npm-packages-pr-create-tag.yml + uses: ritterim/public-github-actions/.github/workflows/npm-packages-pr-create-tag-jfrog.yml@v1.16.5 + #uses: ./.github/workflows/npm-packages-pr-create-tag-jfrog.yml if: github.event.pull_request.merged == true secrets: gh_actions_secret_passing_passphrase: ${{ secrets.ACTIONS_SECRET_PASSING_PASSPHRASE }} @@ -28,5 +28,12 @@ jobs: with: always_increment_patch_version: true gh_app_id: ${{ vars.RIMDEV_NPM_RELEASES_APP_APPID }} + jfrog_api_base_url: ${{ vars.JFROG_API_BASE_URL }} + jfrog_artifactory_repository: "${{ vars.JFROG_NPM_PACKAGE_REPO_BASENAME }}-draft" + jfrog_audit_xray_watch_list: ${{ vars.JFROG_AUDIT_XRAY_WATCH_LIST }} + jfrog_build_basename: ${{ vars.JFROG_BUILD_BASENAME }} + jfrog_npm_feed_repo: ${{ vars.JFROG_ARTIFACTORY_VIRTUAL_REPO_NPM }} + jfrog_npm_package_repo_basename: ${{ vars.JFROG_NPM_PACKAGE_REPO_BASENAME }} + jfrog_oidc_provider_name: ${{ vars.JFROG_GHA_OIDC_PROVIDER_NAME }} npm_package_name: handholdjs run_tests: false diff --git a/.github/workflows/version-tag-build-master.yml b/.github/workflows/version-tag-build-master.yml index 184a47e..04b3558 100644 --- a/.github/workflows/version-tag-build-master.yml +++ b/.github/workflows/version-tag-build-master.yml @@ -15,13 +15,19 @@ on: jobs: version-tag-build: - uses: ritterim/public-github-actions/.github/workflows/npm-packages-release-on-tag.yml@v1.9.0 - #uses: ./.github/workflows/npm-packages-release-on-tag.yml + uses: ritterim/public-github-actions/.github/workflows/npm-packages-release-on-tag-jfrog.yml@v1.16.5 + #uses: ./.github/workflows/npm-packages-release-on-tag-jfrog.yml secrets: npmjs_org_api_key: ${{ secrets.RITTERIM_NPMJS_PUBLISH_TOKEN }} with: allowed_branches: | master + jfrog_artifactory_repository: "${{ vars.JFROG_NPM_PACKAGE_REPO_BASENAME }}-prod" + jfrog_audit_xray_watch_list: ${{ vars.JFROG_AUDIT_XRAY_WATCH_LIST }} + jfrog_build_basename: ${{ vars.JFROG_BUILD_BASENAME }} + jfrog_npm_feed_repo: ${{ vars.JFROG_ARTIFACTORY_VIRTUAL_REPO_NPM }} + jfrog_npm_package_repo_basename: ${{ vars.JFROG_NPM_PACKAGE_REPO_BASENAME }} + jfrog_oidc_provider_name: ${{ vars.JFROG_GHA_OIDC_PROVIDER_NAME }} npm_package_name: handholdjs run_tests: false npmjs_org_access_public: true