From ba7f5fcfd044c003e4359d6f50a391bab3c7094d Mon Sep 17 00:00:00 2001 From: Ivan Peshev Date: Fri, 1 Nov 2019 15:26:16 +0200 Subject: [PATCH] chore: move back to Jenkins CI GitHub Actions are not usable for PR based workflow, see https://github.com/r-lib/ghactions/issues/262#issuecomment-502996564 This reverts commit 8d3114fb1293f9b0702a56f9b231b47c9a04fcbc. --- .github/workflows/branch_push_workflow.yml | 35 ---------------------- .travis.yml | 18 +++++++++++ package.json | 2 +- 3 files changed, 19 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/branch_push_workflow.yml create mode 100644 .travis.yml diff --git a/.github/workflows/branch_push_workflow.yml b/.github/workflows/branch_push_workflow.yml deleted file mode 100644 index 30c7a99..0000000 --- a/.github/workflows/branch_push_workflow.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Branch push - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [10.x] - - steps: - - name: Checkout branch - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install - run: | - npm install - - name: Lint - run: npm run lint - - name: Release - if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' - env: - GITHUB_ACTION: true - GH_TOKEN: ${{ secrets.GH_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - git reset --hard HEAD - git checkout "${GITHUB_REF:11}" - npm run semantic-release diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4049724 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +dist: xenial +language: node_js +cache: + directories: + - node_modules +notifications: + email: false +node_js: + - '8' +script: + - npm run lint + - git fetch --unshallow origin || true + - git fetch origin refs/heads/master:refs/remotes/origin/master +after_success: + - npm run semantic-release +branches: + except: + - "/^v\\d+\\.\\d+\\.\\d+(\\-.*)?$/" diff --git a/package.json b/package.json index 2833002..a422363 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "homepage": "https://github.com/telerik/kendo-angular-messages#readme", "devDependencies": { - "@telerik/semantic-prerelease": "^1.3.3", + "@telerik/semantic-prerelease": "^1.0.0", "cz-conventional-changelog": "1.2.0", "ghooks": "^2.0.0", "gulp": "^3.9.1",