-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Updated tooling version to revert listener issue
- Loading branch information
1 parent
8cc9530
commit 8b04984
Showing
1 changed file
with
32 additions
and
32 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 |
---|---|---|
|
@@ -89,35 +89,35 @@ jobs: | |
uses: andstor/file-existence-action@v2 | ||
with: | ||
files: './src/sdks/core/dist/lib/firebolt.mjs' | ||
- name: Release Firebolt SDKs to NPM | ||
if: steps.check_build.outputs.files_exists == 'true' && github.event_name != 'pull_request' && (github.ref_name != 'main' || github.event_name == 'workflow_dispatch') | ||
env: | ||
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth. | ||
run: | | ||
npm --version | ||
echo "NPM DIST TAG :: " $NPM_DIST_TAG | ||
npm publish --tag $NPM_DIST_TAG --workspaces | ||
- name: Dry-run Firebolt SDKs to NPM | ||
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' && github.event_name != 'workflow_dispatch') | ||
env: | ||
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth. | ||
run: npm publish --tag $NPM_DIST_TAG --workspaces --dry-run | ||
- name: Checkout firebolt GitHub.io repository | ||
if: steps.check_build.outputs.files_exists == 'true' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches | ||
run: | | ||
cd /tmp | ||
git clone https://rdkcentral:[email protected]/rdkcentral/firebolt.git ./firebolt-docs | ||
- name: Release docs to GitHub.io | ||
if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' || github.ref_name == 'next' || github.ref_name == 'next-major' || github.event_name == 'pull_request') | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches | ||
run: | | ||
npm run publish:docs /tmp/firebolt-docs $DOCS_TAG | ||
cd /tmp/firebolt-docs | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Your Name" | ||
git add --all | ||
git diff-index --quiet HEAD || git commit -m "chore: Publish $DOCS_TAG" | ||
git push | ||
# - name: Release Firebolt SDKs to NPM | ||
# if: steps.check_build.outputs.files_exists == 'true' && github.event_name != 'pull_request' && (github.ref_name != 'main' || github.event_name == 'workflow_dispatch') | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth. | ||
# run: | | ||
# npm --version | ||
# echo "NPM DIST TAG :: " $NPM_DIST_TAG | ||
# npm publish --tag $NPM_DIST_TAG --workspaces | ||
# - name: Dry-run Firebolt SDKs to NPM | ||
# if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' && github.event_name != 'workflow_dispatch') | ||
# env: | ||
# NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }} # <-- Allows semantic-release to publish to npm without 2 factor auth. | ||
# run: npm publish --tag $NPM_DIST_TAG --workspaces --dry-run | ||
# - name: Checkout firebolt GitHub.io repository | ||
# if: steps.check_build.outputs.files_exists == 'true' | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches | ||
# run: | | ||
# cd /tmp | ||
# git clone https://rdkcentral:[email protected]/rdkcentral/firebolt.git ./firebolt-docs | ||
# - name: Release docs to GitHub.io | ||
# if: steps.check_build.outputs.files_exists == 'true' && (github.ref_name == 'main' || github.ref_name == 'next' || github.ref_name == 'next-major' || github.event_name == 'pull_request') | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} # <-- Allows semantic-release-bot to push changes to protected branches | ||
# run: | | ||
# npm run publish:docs /tmp/firebolt-docs $DOCS_TAG | ||
# cd /tmp/firebolt-docs | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "Your Name" | ||
# git add --all | ||
# git diff-index --quiet HEAD || git commit -m "chore: Publish $DOCS_TAG" | ||
# git push |