Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
ref: ${{ github.event.release.tag_name || inputs.tag }}
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main
id: distTag
- run: echo "[INFO] tag is=$INPUTS_TAG , version is=$INPUTS_VERSION"
env:
INPUTS_TAG: ${{ steps.distTag.outputs.tag }}
INPUTS_VERSION: ${{ steps.distTag.outputs.version }}

getMajorVersion:
needs: [getDistTag]
Expand All @@ -30,8 +34,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: salesforcecli/github-workflows/.github/actions/parse-semver@main
id: parsedVersion
with:
input_string: ${{ needs.getDistTag.outputs.version }}
- run: echo "[INFO] Major version is=$INPUTS_MAJOR_VERSION"
env:
INPUTS_MAJOR_VERSION: ${{ steps.parsedVersion.outputs.major }}

npm:
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main
Expand All @@ -41,5 +49,6 @@ jobs:
sign: true
tag: ${{ needs.getDistTag.outputs.tag || (needs.getMajorVersion.outputs.major == '1') && 'latest' || 'next' }}
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
nodeVersion: 20.18.0

secrets: inherit
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: tests
on:
push:
branches-ignore: [main]
branches-ignore: [main, 252-patch]
workflow_dispatch:

jobs:
Expand All @@ -26,3 +26,4 @@ jobs:
fail-fast: false
with:
os: ${{ matrix.os }}
nodeVersion: 20.18.0
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [opened, reopened, edited]
# only applies to PRs that want to merge to main
branches: [main]
branches: [main, 252-patch]

jobs:
pr-validation:
Expand Down
Loading