forked from haraka/Haraka
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (37 loc) · 972 Bytes
/
ci-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Haraka Tests
on: [ push, pull_request ]
jobs:
ci-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
# node 0.6, no longer supported by async
# node 0.8, no longer supported by iconv
# node 0.10, maintenance ended 2016-10-31
# node 4, maint. ended 2016-12
# node 6, maint. ended 2018-04
# node 8, maint. ended 2019-12
# node 10, maint. ends 2021-04
node-version: [12.x, 14.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
name: Checkout Haraka
with:
fetch-depth: 1
- uses: actions/setup-node@v1
name: Use Node.js ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Test
run: npm run test
env:
CI: true
services:
redis:
image: redis
ports:
- 6379/tcp