-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f6b2fc4
commit 477ae38
Showing
8 changed files
with
12,995 additions
and
4,252 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
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 |
---|---|---|
|
@@ -15,6 +15,8 @@ jobs: | |
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
|
@@ -34,24 +36,26 @@ jobs: | |
run: | | ||
echo "node $(node --version)" | ||
echo "npm $(npm --version)" | ||
echo "yarn $(yarn --version)" | ||
echo "rust $(rustup --version)" | ||
git --version | ||
- name: Configure Git & NPM | ||
- name: Configure NPM | ||
run: | | ||
git config --global user.name 'Git bot' | ||
git config --global user.email '[email protected]' | ||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | ||
echo "workspaces-update = false" >> .npmrc | ||
echo "@bitgo:registry=https://registry.npmjs.org" >> .npmrc | ||
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc | ||
echo "//registry.npmjs.org/:always-auth=true" >> .npmrc | ||
- name: Install Packages | ||
run: yarn install --with-frozen-lockfile | ||
run: npm ci --workspaces --include-workspace-root | ||
|
||
- name: build packages | ||
run: yarn lerna run build | ||
run: npm --workspaces run build | ||
|
||
- name: Unit Test | ||
run: npm --workspaces test | ||
|
||
- name: Lerna Publish | ||
run: yarn lerna publish --force-publish --include-merged-tags --conventional-commits --yes --loglevel silly --no-push --no-git-tag-version --no-changelog | ||
- name: Release | ||
run: npx multi-semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/npm" | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.