From 9d1ea527b96ed754045635fdf8136504f99ebd56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20Ribo=CC=81=20Labrador?= Date: Sat, 16 Dec 2023 08:25:17 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20Change=20the=20CI=20pipeline=20so=20that?= =?UTF-8?q?=20docs=20are=20released=20on=20each=20merge=20to=20master,=20t?= =?UTF-8?q?ogether=20with=20packages.=20Signed-off-by:=20Francisco=20Javie?= =?UTF-8?q?r=20Rib=C3=B3=20Labrador=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 12 ------------ .github/workflows/release.yml | 14 ++------------ .releaserc.yml | 1 + 3 files changed, 3 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 286efe5a..4754f004 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,20 +41,8 @@ jobs: run: | npm ci npm run coverage - npm run docs - name: Coverage Comment uses: MishaKav/jest-coverage-comment@v1.0.23 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ó - commit_user_name: Javier Ribó - commit_user_email: elribonazo@gmail.com \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d0c454a..bd0fa370 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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ó - commit_user_name: Javier Ribó - commit_user_email: elribonazo@gmail.com - + npm run coverage + npm run docs \ No newline at end of file diff --git a/.releaserc.yml b/.releaserc.yml index 6d4cf860..442b3f9c 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -22,6 +22,7 @@ plugins: "packages/*/package.json", "packages/*/package-lock.json", "packages/*/README.md", + "docs/**/*" ], message: "chore(release): release ${nextRelease.version} ${nextRelease.notes}",