-
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.
- Loading branch information
1 parent
6b764e1
commit 92c305e
Showing
12 changed files
with
305 additions
and
300 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.