diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abb1007..bb0eea7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v6 - name: "Setup Node Environment" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: cache: npm node-version-file: ${{ inputs.node-version-file }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7864238..5745027 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,7 +57,7 @@ jobs: ref: ${{ inputs.ref }} - name: "Publish to npm" - uses: braintree/web-sdk-github-actions/actions/npm-publish@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/npm-publish@45ee569cf478259fa14e8f116136d6d6fd93f061 with: npm-token: ${{ secrets.npm-token }} dry-run: ${{ inputs.dry-run }} @@ -73,7 +73,7 @@ jobs: ref: ${{ inputs.ref }} - name: "Create release notes" - uses: braintree/web-sdk-github-actions/actions/release-notes@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/release-notes@45ee569cf478259fa14e8f116136d6d6fd93f061 with: github-token: ${{ secrets.GITHUB_TOKEN }} dry-run: ${{ inputs.dry-run }} diff --git a/.github/workflows/release-dry-run.yml b/.github/workflows/release-dry-run.yml index bc8b1c1..d5795e2 100644 --- a/.github/workflows/release-dry-run.yml +++ b/.github/workflows/release-dry-run.yml @@ -37,7 +37,7 @@ concurrency: jobs: ci: - uses: braintree/web-sdk-github-actions/.github/workflows/ci.yml@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: ./.github/workflows/ci.yml with: lint-command: ${{ inputs.lint-command }} test-command: ${{ inputs.test-command }} @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v6 - name: "Setup Node Environment" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: cache: npm @@ -91,7 +91,7 @@ jobs: - uses: actions/checkout@v6 - name: "Publish to npm (dry run)" - uses: braintree/web-sdk-github-actions/actions/npm-publish@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/npm-publish@45ee569cf478259fa14e8f116136d6d6fd93f061 with: dry-run: "true" npm-token: ${{ secrets.npm-token }} diff --git a/.github/workflows/release-pipeline.yml b/.github/workflows/release-pipeline.yml index 2b4c7da..cf0a056 100644 --- a/.github/workflows/release-pipeline.yml +++ b/.github/workflows/release-pipeline.yml @@ -47,7 +47,7 @@ concurrency: jobs: ci: - uses: braintree/web-sdk-github-actions/.github/workflows/ci.yml@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: ./.github/workflows/ci.yml permissions: contents: read with: @@ -68,7 +68,7 @@ jobs: - name: "Bump version" id: bump - uses: braintree/web-sdk-github-actions/actions/version-bump@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/version-bump@45ee569cf478259fa14e8f116136d6d6fd93f061 with: version-type: ${{ inputs.version-type }} base-branch: ${{ inputs.base-branch }} @@ -80,7 +80,7 @@ jobs: permissions: id-token: write contents: write - uses: braintree/web-sdk-github-actions/.github/workflows/publish.yml@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: ./.github/workflows/publish.yml with: ref: v${{ needs.bump-version.outputs.new-version }} dry-run: ${{ inputs.dry-run }} diff --git a/.github/workflows/validate-scripts.yml b/.github/workflows/validate-scripts.yml index 17958b5..316c29a 100644 --- a/.github/workflows/validate-scripts.yml +++ b/.github/workflows/validate-scripts.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v6 - name: "Setup Node Environment" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: cache: npm diff --git a/actions/npm-publish/action.yml b/actions/npm-publish/action.yml index a6ed9fb..4b39d32 100644 --- a/actions/npm-publish/action.yml +++ b/actions/npm-publish/action.yml @@ -18,7 +18,7 @@ runs: using: "composite" steps: - name: "Setup Node Environment" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: registry-url: ${{ inputs.registry-url }} cache: npm diff --git a/actions/release-notes/action.yml b/actions/release-notes/action.yml index 16a28ef..7b8d6d4 100644 --- a/actions/release-notes/action.yml +++ b/actions/release-notes/action.yml @@ -19,7 +19,7 @@ runs: using: "composite" steps: - name: "Setup Node Environment" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: cache: npm diff --git a/actions/version-bump/action.yml b/actions/version-bump/action.yml index c58f0b9..303e738 100644 --- a/actions/version-bump/action.yml +++ b/actions/version-bump/action.yml @@ -28,10 +28,10 @@ outputs: runs: using: "composite" steps: - - uses: braintree/web-sdk-github-actions/actions/setup-git@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + - uses: braintree/web-sdk-github-actions/actions/setup-git@45ee569cf478259fa14e8f116136d6d6fd93f061 - name: "Setup Node.js" - uses: braintree/web-sdk-github-actions/actions/setup-node@cf4b40ff4b46c96aadbfae38806b8de404a98cb3 + uses: braintree/web-sdk-github-actions/actions/setup-node@45ee569cf478259fa14e8f116136d6d6fd93f061 with: cache: npm