Skip to content

Commit af5c59c

Browse files
authored
chore: upgrade github-action-merge-dependabot to v3 (#62)
1 parent f86aaee commit af5c59c

File tree

1 file changed

+46
-37
lines changed

1 file changed

+46
-37
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,72 @@
11
name: CI
2-
32
on:
43
push:
54
paths-ignore:
6-
- 'docs/**'
5+
- docs/**
76
- '*.md'
87
pull_request:
98
paths-ignore:
10-
- 'docs/**'
9+
- docs/**
1110
- '*.md'
12-
1311
jobs:
14-
1512
browsers:
1613
runs-on: ubuntu-latest
1714
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-node@v2
20-
- name: Install Dependencies
21-
run: npm install
22-
- name: Test
23-
run: npm run test-in-browsers
24-
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v2
17+
- name: Install Dependencies
18+
run: npm install
19+
- name: Test
20+
run: npm run test-in-browsers
2521
test:
2622
runs-on: ubuntu-latest
2723
strategy:
2824
matrix:
29-
node-version: [10, 11, 12, 13, 14, 15, 16]
25+
node-version:
26+
- 10
27+
- 11
28+
- 12
29+
- 13
30+
- 14
31+
- 15
32+
- 16
3033
steps:
31-
- uses: actions/checkout@v2
32-
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v2
34-
with:
35-
node-version: ${{ matrix.node-version }}
36-
- name: Install Dependencies
37-
run: npm install --ignore-scripts
38-
- name: Test
39-
run: npm test
40-
34+
- uses: actions/checkout@v2
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v2
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
- name: Install Dependencies
40+
run: npm install --ignore-scripts
41+
- name: Test
42+
run: npm test
4143
test-legacy:
4244
runs-on: ubuntu-latest
4345
strategy:
4446
matrix:
45-
node-version: [6, 8]
47+
node-version:
48+
- 6
49+
- 8
4650
steps:
47-
- uses: actions/checkout@v2
48-
- name: Use Node.js ${{ matrix.node-version }}
49-
uses: actions/setup-node@v2
50-
with:
51-
node-version: ${{ matrix.node-version }}
52-
- name: Install Dependencies
53-
run: npm install --ignore-scripts
54-
- name: Test
55-
run: npm run test-legacy
56-
51+
- uses: actions/checkout@v2
52+
- name: Use Node.js ${{ matrix.node-version }}
53+
uses: actions/setup-node@v2
54+
with:
55+
node-version: ${{ matrix.node-version }}
56+
- name: Install Dependencies
57+
run: npm install --ignore-scripts
58+
- name: Test
59+
run: npm run test-legacy
5760
automerge:
58-
needs: [browsers, test, test-legacy]
61+
needs:
62+
- browsers
63+
- test
64+
- test-legacy
5965
runs-on: ubuntu-latest
66+
permissions:
67+
pull-requests: write
68+
contents: write
6069
steps:
61-
- uses: fastify/github-action-merge-dependabot@v2.7.1
70+
- uses: fastify/github-action-merge-dependabot@v3
6271
with:
63-
github-token: ${{ secrets.GITHUB_TOKEN }}
72+
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)