Skip to content

Commit 90c511b

Browse files
ci: update
2 parents 283136c + 40993d7 commit 90c511b

File tree

2 files changed

+7
-44
lines changed

2 files changed

+7
-44
lines changed

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
- name: Use Node.js
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1919
with:
20-
node-version: 16.x
20+
node-version: lts/*
2121
cache: yarn
2222
- run: yarn --frozen-lockfile
2323
- run: yarn lint
@@ -26,12 +26,12 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
os: [ubuntu-latest, windows-latest, macos-latest]
29-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
29+
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 21.x]
3030
runs-on: ${{ matrix.os }}
3131
steps:
32-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v4
3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v3
34+
uses: actions/setup-node@v4
3535
with:
3636
node-version: ${{ matrix.node-version }}
3737
cache: yarn
@@ -46,4 +46,4 @@ jobs:
4646
- name: Run tests with coverage
4747
run: npm run test:coverage -- --ci
4848
- if: ${{ matrix.os != 'windows-latest' }}
49-
uses: codecov/codecov-action@v3
49+
uses: codecov/codecov-action@v4

open-bot.yaml

-37
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,6 @@
11
bot: "webpack-bot"
22
rules:
33

4-
# Add ci-ok, ci-not-ok labels depending on travis status
5-
# comment to point the user to the results
6-
# comment in case of success
7-
- filters:
8-
open: true
9-
pull_request:
10-
mergeable: true
11-
status_1:
12-
context: "continuous-integration/travis-ci/pr"
13-
ensure_1:
14-
value: "{{status_1.state}}"
15-
equals: "success"
16-
actions:
17-
label:
18-
add: "PR: CI-ok"
19-
remove: "PR: CI-not-ok"
20-
comment:
21-
identifier: "ci-result"
22-
message: |-
23-
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.
24-
- filters:
25-
open: true
26-
pull_request:
27-
mergeable: true
28-
status_1:
29-
context: "continuous-integration/travis-ci/pr"
30-
any:
31-
ensure_1:
32-
value: "{{status_1.state}}"
33-
equals: "failure"
34-
actions:
35-
label:
36-
add: "PR: CI-not-ok"
37-
remove: "PR: CI-ok"
38-
39-
40-
414
# add conflict label to pull requests with conflict
425
# on conflict all result labels are removed
436
- filters:

0 commit comments

Comments
 (0)