File tree Expand file tree Collapse file tree 4 files changed +26
-11
lines changed Expand file tree Collapse file tree 4 files changed +26
-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
+
7
+ jobs :
8
+ test-node :
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ node-version : [8.x]
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Use Node.js ${{ matrix.node-version }}
18
+ uses : actions/setup-node@v1
19
+ with :
20
+ node-version : ${{ matrix.node-version }}
21
+ - run : npm ci
22
+ - run : npm test
23
+ env :
24
+ CI : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
2
2
# Engine.IO: the realtime engine
3
3
4
- [ ![ Build Status] ( https://travis-ci.org /socketio/engine.io.svg?branch=master )] ( http ://travis-ci.org /socketio/engine.io)
4
+ [ ![ Build Status] ( https://github.com /socketio/engine.io/workflows/CI/badge .svg )] ( https ://github.com /socketio/engine.io/actions )
5
5
[ ![ NPM version] ( https://badge.fury.io/js/engine.io.svg )] ( http://badge.fury.io/js/engine.io )
6
6
7
7
` Engine.IO ` is the implementation of transport-based
Original file line number Diff line number Diff line change @@ -932,7 +932,7 @@ describe('server', function () {
932
932
it ( 'should trigger transport close before open for ws' , function ( done ) {
933
933
var opts = { transports : [ 'websocket' ] } ;
934
934
listen ( opts , function ( port ) {
935
- var url = 'ws://%s:%d' . s ( '0.0.0.50 ' , port ) ;
935
+ var url = 'ws://%s:%d' . s ( '0.0.0.0 ' , port ) ;
936
936
var socket = new eioc . Socket ( url ) ;
937
937
socket . on ( 'open' , function ( ) {
938
938
done ( new Error ( 'Test invalidation' ) ) ;
You can’t perform that action at this time.
0 commit comments