-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: new top-level testSetup export * feat!: core7, jsforce-node BREAKING CHANGE: use new jsforce, core * test: node16 module imports * ci: beta release 5.0.0-beta.0 * Wr/timeout apex (#364) * fix: timeout working, pjson locked, UT failing * fix: use native clearInterval * chore: undo pjson change * test: add UT * chore: temp beta * chore: revert to 5.0.0 * fix: allow test to finsih first and not hang * chore: temp beta * test: add assertions for test return before timeout --------- Co-authored-by: Willie Ruemmele <[email protected]> Co-authored-by: Willhoit <[email protected]> Co-authored-by: peternhale <[email protected]>
- Loading branch information
1 parent
95fb994
commit e52a4c4
Showing
23 changed files
with
199 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,32 @@ | ||
# when a github release happens, publish an npm package, | ||
name: publish | ||
|
||
on: | ||
release: | ||
types: [released] | ||
# support manual release | ||
types: [published] | ||
# support manual release in case something goes wrong and needs to be repeated or tested | ||
workflow_dispatch: | ||
inputs: | ||
tag: | ||
description: tag that needs to publish | ||
type: string | ||
required: true | ||
jobs: | ||
# parses the package.json version and detects prerelease tag (ex: beta from 4.4.4-beta.0) | ||
getDistTag: | ||
outputs: | ||
tag: ${{ steps.distTag.outputs.tag }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.release.tag_name || inputs.tag }} | ||
- uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main | ||
id: distTag | ||
|
||
npm: | ||
uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main | ||
needs: [getDistTag] | ||
with: | ||
ctc: false | ||
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }} | ||
githubTag: ${{ github.event.release.tag_name || inputs.tag }} | ||
secrets: inherit | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.