File tree Expand file tree Collapse file tree 1 file changed +4
-58
lines changed Expand file tree Collapse file tree 1 file changed +4
-58
lines changed Original file line number Diff line number Diff line change 11
11
- ' *.md'
12
12
13
13
jobs :
14
- dependency-review :
15
- name : Dependency Review
16
- if : github.event_name == 'pull_request'
17
- runs-on : ubuntu-latest
18
- permissions :
19
- contents : read
20
- steps :
21
- - name : Check out repo
22
- uses : actions/checkout@v3
23
- with :
24
- persist-credentials : false
25
-
26
- - name : Dependency review
27
- uses : actions/dependency-review-action@v2
28
-
29
14
test :
30
- runs-on : ubuntu-latest
31
- strategy :
32
- matrix :
33
- node-version : [14, 16, 18]
34
- redis-tag : [5, 6, 7]
35
- services :
36
- redis :
37
- image : redis:${{ matrix.redis-tag }}
38
- ports :
39
- - ' 6379:6379'
40
- options : ' --entrypoint redis-server'
41
- steps :
42
- - name : Check out repo
43
- uses : actions/checkout@v3
44
- with :
45
- persist-credentials : false
46
-
47
- - name : Setup Node ${{ matrix.node-version }}
48
- uses : actions/setup-node@v3
49
- with :
50
- node-version : ${{ matrix.node-version }}
51
-
52
- - name : Install dependencies
53
- run : npm i --ignore-scripts
54
-
55
- - name : Run tests
56
- run : npm test
57
-
58
- automerge :
59
- name : Automerge Dependabot PRs
60
- if : >
61
- github.event_name == 'pull_request' &&
62
- github.event.pull_request.user.login == 'dependabot[bot]'
63
- needs : test
64
- permissions :
65
- pull-requests : write
66
- contents : write
67
- runs-on : ubuntu-latest
68
- steps :
69
- - uses : fastify/github-action-merge-dependabot@v3
70
- with :
71
- github-token : ${{ secrets.GITHUB_TOKEN }}
72
- target : major
15
+ uses : fastify/workflows/.github/workflows/plugins-ci-redis.yml@v3
16
+ with :
17
+ license-check : true
18
+ license-check-allowed-additional : ' Apache*'
You can’t perform that action at this time.
0 commit comments