-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…n type (#281) * [#271]: initial template added * [#271]: lint fix * [#271]: fixes added * [#271]: getAvatarImageByID updated for version2 * [#271]: test project name updated
- Loading branch information
1 parent
6b764e1
commit 827a676
Showing
17 changed files
with
365 additions
and
306 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 |
---|---|---|
|
@@ -52,11 +52,8 @@ jobs: | |
run: npm run test:integration | ||
|
||
publish: | ||
name: Publish | ||
name: Package publish | ||
needs: | ||
- build | ||
- lint | ||
- test_unit | ||
- test_integration | ||
runs-on: self-hosted | ||
steps: | ||
|
@@ -67,6 +64,8 @@ jobs: | |
|
||
publish-docs: | ||
name: Docs publish | ||
needs: | ||
- test_integration | ||
runs-on: self-hosted | ||
steps: | ||
- name: Checkout code | ||
|
@@ -85,6 +84,10 @@ jobs: | |
- name: Generate docs | ||
run: npm run doc | ||
|
||
- name: Extract version | ||
id: pkg | ||
run: echo "::set-output name=version::$(node -p "require('./package.json').version")" | ||
|
||
- name: Checkout docs branch | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -100,5 +103,5 @@ jobs: | |
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
git add . | ||
git commit -m "Update documentation" | ||
git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}" | ||
git push |
Oops, something went wrong.