From 40993d70e83c78a423d78f1eb8bb72febc91434c Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Wed, 6 Mar 2024 15:52:44 +0300 Subject: [PATCH] ci: update --- .github/workflows/test.yml | 14 +++++++------- open-bot.yaml | 37 ------------------------------------- 2 files changed, 7 insertions(+), 44 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa8d1362..9620bba5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,11 +13,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: lts/* cache: yarn - run: yarn --frozen-lockfile - run: yarn lint @@ -26,12 +26,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 21.x] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: yarn @@ -46,4 +46,4 @@ jobs: - name: Run tests with coverage run: npm run test:coverage -- --ci - if: ${{ matrix.os != 'windows-latest' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 diff --git a/open-bot.yaml b/open-bot.yaml index 4951635d..96b89c11 100644 --- a/open-bot.yaml +++ b/open-bot.yaml @@ -1,43 +1,6 @@ bot: "webpack-bot" rules: -# Add ci-ok, ci-not-ok labels depending on travis status -# comment to point the user to the results -# comment in case of success -- filters: - open: true - pull_request: - mergeable: true - status_1: - context: "continuous-integration/travis-ci/pr" - ensure_1: - value: "{{status_1.state}}" - equals: "success" - actions: - label: - add: "PR: CI-ok" - remove: "PR: CI-not-ok" - comment: - identifier: "ci-result" - message: |- - Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. -- filters: - open: true - pull_request: - mergeable: true - status_1: - context: "continuous-integration/travis-ci/pr" - any: - ensure_1: - value: "{{status_1.state}}" - equals: "failure" - actions: - label: - add: "PR: CI-not-ok" - remove: "PR: CI-ok" - - - # add conflict label to pull requests with conflict # on conflict all result labels are removed - filters: