From 4f3101863ef647490f902a63d0169074707b8580 Mon Sep 17 00:00:00 2001 From: Anton Golub Date: Mon, 5 Apr 2021 13:53:17 +0300 Subject: [PATCH] ci: tweak ups (#403) * ci: enable gh-actions ci * ci: update gh-pages commit message --- .github/workflows/{ci._yaml => ci.yaml} | 12 +++++++++--- .travis.yml => .travis.yml.disabled | 0 packages/desktop/.releaserc.js | 2 +- packages/mobile/.releaserc.js | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) rename .github/workflows/{ci._yaml => ci.yaml} (94%) rename .travis.yml => .travis.yml.disabled (100%) diff --git a/.github/workflows/ci._yaml b/.github/workflows/ci.yaml similarity index 94% rename from .github/workflows/ci._yaml rename to .github/workflows/ci.yaml index a25f3003d..fcc665118 100644 --- a/.github/workflows/ci._yaml +++ b/.github/workflows/ci.yaml @@ -42,8 +42,10 @@ jobs: name: target retention-days: 1 path: | - packages/**/lib - packages/**/styleguide + !packages/*/node_modules + !packages/*/src + packages + lerna.json test_push: needs: build @@ -67,6 +69,7 @@ jobs: yarn bootstrap - name: Unit test only run: yarn test:unit + # - name: Push coverage # if: github.ref == 'refs/heads/master' # uses: actions/upload-artifact@v2 @@ -116,6 +119,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + persist-credentials: false + - name: Restore target uses: actions/download-artifact@v2 with: @@ -134,7 +140,7 @@ jobs: - name: Multi-semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} GH_USER: 'qiwibot' NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GIT_AUTHOR_EMAIL: 'opensource@qiwi.com' diff --git a/.travis.yml b/.travis.yml.disabled similarity index 100% rename from .travis.yml rename to .travis.yml.disabled diff --git a/packages/desktop/.releaserc.js b/packages/desktop/.releaserc.js index 9d06c468c..a25f0bb31 100644 --- a/packages/desktop/.releaserc.js +++ b/packages/desktop/.releaserc.js @@ -9,7 +9,7 @@ module.exports = { branch: 'gh-pages', from: './styleguide/lib', to: './desktop', - message: 'update pijma-desktop docs' + message: 'update docs ${nextRelease.gitTag}', } } ], diff --git a/packages/mobile/.releaserc.js b/packages/mobile/.releaserc.js index a2a739f37..99c4d218d 100644 --- a/packages/mobile/.releaserc.js +++ b/packages/mobile/.releaserc.js @@ -9,7 +9,7 @@ module.exports = { branch: 'gh-pages', from: './styleguide/lib', to: './mobile', - message: 'update pijma-mobile docs', + message: 'update docs ${nextRelease.gitTag}', } } ],