File tree Expand file tree Collapse file tree 3 files changed +38
-11
lines changed Expand file tree Collapse file tree 3 files changed +38
-11
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 0 * * 0'
8+
9+ jobs :
10+ test-node :
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ node-version : [10.x, 12.x, 14.x]
16+
17+ services :
18+ redis :
19+ image : redis
20+ options : >-
21+ --health-cmd "redis-cli ping"
22+ --health-interval 10s
23+ --health-timeout 5s
24+ --health-retries 5
25+ ports :
26+ - 6379:6379
27+
28+ steps :
29+ - uses : actions/checkout@v2
30+ - name : Use Node.js ${{ matrix.node-version }}
31+ uses : actions/setup-node@v1
32+ with :
33+ node-version : ${{ matrix.node-version }}
34+ - run : npm ci
35+ - run : npm test
36+ env :
37+ CI : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# socket.io-redis
22
3- [ ![ Build Status] ( https://travis-ci.org /socketio/socket.io-redis.svg?branch=master )] ( https://travis-ci.org /socketio/socket.io-redis )
3+ [ ![ Build Status] ( https://github.com /socketio/socket.io-redis/workflows/CI/badge .svg?branch=master )] ( https://github.com /socketio/socket.io-redis/actions )
44[ ![ NPM version] ( https://badge.fury.io/js/socket.io-redis.svg )] ( http://badge.fury.io/js/socket.io-redis )
55
66## Table of contents
You can’t perform that action at this time.
0 commit comments