Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Mar 6, 2024
2 parents 283136c + 40993d7 commit 90c511b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 44 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
37 changes: 0 additions & 37 deletions 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:
Expand Down

0 comments on commit 90c511b

Please sign in to comment.