Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

fix: Change the CI pipeline so that docs are released on each merge t… #54

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,8 @@ jobs:
run: |
npm ci
npm run coverage
npm run docs

- name: Coverage Comment
uses: MishaKav/[email protected]
with:
coverage-summary-path: packages/database/coverage/coverage-summary.json

- uses: stefanzweifel/git-auto-commit-action@v5
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
push_options: '--force'
commit_message: "chore(docs): Rebuild docs + coverage [skip ci]"
commit_author: Javier Ribó <[email protected]>
commit_user_name: Javier Ribó
commit_user_email: [email protected]
14 changes: 2 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,7 @@ jobs:
run: |
npm ci
npm run release

- uses: stefanzweifel/git-auto-commit-action@v5
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
push_options: '--force'
commit_message: "chore(docs): Rebuild docs + coverage [skip ci]"
commit_author: Javier Ribó <[email protected]>
commit_user_name: Javier Ribó
commit_user_email: [email protected]

npm run coverage
npm run docs


1 change: 1 addition & 0 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ plugins:
"packages/*/package.json",
"packages/*/package-lock.json",
"packages/*/README.md",
"docs/**/*"
],
message: "chore(release): release ${nextRelease.version}
${nextRelease.notes}",
Expand Down