1
1
name : CI
2
-
3
2
on :
4
3
push :
5
4
paths-ignore :
6
- - ' docs/**'
5
+ - docs/**
7
6
- ' *.md'
8
7
pull_request :
9
8
paths-ignore :
10
- - ' docs/**'
9
+ - docs/**
11
10
- ' *.md'
12
-
13
11
jobs :
14
-
15
12
browsers :
16
13
runs-on : ubuntu-latest
17
14
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
25
21
test :
26
22
runs-on : ubuntu-latest
27
23
strategy :
28
24
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
30
33
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
41
43
test-legacy :
42
44
runs-on : ubuntu-latest
43
45
strategy :
44
46
matrix :
45
- node-version : [6, 8]
47
+ node-version :
48
+ - 6
49
+ - 8
46
50
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
57
60
automerge :
58
- needs : [browsers, test, test-legacy]
61
+ needs :
62
+ - browsers
63
+ - test
64
+ - test-legacy
59
65
runs-on : ubuntu-latest
66
+ permissions :
67
+ pull-requests : write
68
+ contents : write
60
69
steps :
61
- - uses : fastify/github-action-merge-dependabot@v2.7.1
70
+ - uses : fastify/github-action-merge-dependabot@v3
62
71
with :
63
- github-token : ${{ secrets.GITHUB_TOKEN }}
72
+ github-token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments