Skip to content

Commit

Permalink
[#271]: initial template added
Browse files Browse the repository at this point in the history
  • Loading branch information
MrRefactoring committed Oct 8, 2023
1 parent 6b764e1 commit 92c305e
Show file tree
Hide file tree
Showing 12 changed files with 305 additions and 300 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -67,6 +64,8 @@ jobs:

publish-docs:
name: Docs publish
needs:
- test_integration
runs-on: self-hosted
steps:
- name: Checkout code
Expand All @@ -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:
Expand All @@ -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
Loading

0 comments on commit 92c305e

Please sign in to comment.