-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: finalize Solo migration (#766)
Signed-off-by: Nathan Klick <[email protected]>
- Loading branch information
1 parent
029b31c
commit b22d490
Showing
82 changed files
with
4 additions
and
25,128 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,44 +259,12 @@ jobs: | |
with: | ||
node-version: 18 | ||
|
||
- name: Setup JFrog CLI | ||
uses: jfrog/setup-jfrog-cli@8fc3d0018a8721b9a797cd7fd97c8e4833f5a3d1 # v3.5.3 | ||
env: | ||
JF_URL: ${{ vars.JF_URL }} | ||
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | ||
|
||
- name: Show JFrog Config | ||
run: jfrog config show | ||
|
||
- name: Verify JFrog Connectivity | ||
run: jfrog rt ping | ||
|
||
- name: Setup JFrog NPM Repository | ||
working-directory: solo | ||
run: | | ||
jf npmc --server-id-resolve setup-jfrog-cli-server --server-id-deploy setup-jfrog-cli-server --repo-resolve solo-npm-release --repo-deploy solo-npm-release | ||
echo "::group::JFrog NPM Repository Configuration" | ||
cat .jfrog/projects/npm.yaml | ||
echo "::endgroup::" | ||
- name: Install Semantic Release | ||
run: | | ||
npm install -g [email protected] @semantic-release/[email protected] @semantic-release/[email protected] [email protected] | ||
npm install -g [email protected] @commitlint/[email protected] @commitlint/[email protected] | ||
npm install -g [email protected] [email protected] [email protected] | ||
- name: Install Dependencies | ||
working-directory: solo | ||
run: jf npm ci | ||
|
||
- name: Setup NPM Authentication | ||
working-directory: solo | ||
run: | | ||
# create .npmrc file to publish solo to Github NPM registry | ||
rm -f .npmrc || true | ||
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ".npmrc" | ||
echo '@hashgraph:registry=https://registry.npmjs.org/' >> ".npmrc" | ||
- name: Publish Semantic Release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
@@ -307,8 +275,3 @@ jobs: | |
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_USER_EMAIL }} | ||
if: ${{ github.event.inputs.dry-run-enabled != 'true' && !cancelled() && !failure() }} | ||
run: npx semantic-release | ||
|
||
- name: Deploy to JFrog Registry | ||
working-directory: solo | ||
if: ${{ github.event.inputs.dry-run-enabled != 'true' && !cancelled() && !failure() }} | ||
run: jf npm publish |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.