File tree 3 files changed +14
-23
lines changed
3 files changed +14
-23
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ${{ matrix.os }}
10
10
strategy :
11
11
matrix :
12
+ arch :
13
+ - x64
14
+ - x86
12
15
node :
13
16
- 8
14
17
- 10
@@ -19,14 +22,22 @@ jobs:
19
22
- macOS-latest
20
23
- ubuntu-latest
21
24
- windows-latest
25
+ exclude :
26
+ - arch : x86
27
+ os : macOS-latest
28
+ - arch : x86
29
+ os : ubuntu-latest
22
30
steps :
23
31
- uses : actions/checkout@v2
24
32
- uses : actions/setup-node@v2
25
33
with :
26
34
node-version : ${{ matrix.node }}
35
+ architecture : ${{ matrix.arch }}
27
36
- run : npm install
28
37
- run : npm run lint
29
- if : matrix.node == 16 && matrix.os == 'ubuntu-latest'
38
+ if :
39
+ matrix.os == 'ubuntu-latest' && matrix.node == 16 && matrix.arch ==
40
+ ' x64'
30
41
- run : npm test
31
42
- run :
32
43
echo ::set-output name=job_id::$(node -e
36
47
- uses : coverallsapp/github-action@v1.1.2
37
48
with :
38
49
flag-name :
39
- ${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }}
40
- on ${{ matrix.os }})
50
+ ${{ steps.get_job_id.outputs.job_id }} (Node.js ${{ matrix.node }} -
51
+ $ {{ matrix.arch }} on ${{ matrix.os }})
41
52
github-token : ${{ secrets.GITHUB_TOKEN }}
42
53
parallel : true
43
54
coverage :
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Version npm] ( https://img.shields.io/npm/v/ws.svg?logo=npm )] ( https://www.npmjs.com/package/ws )
4
4
[ ![ Build] ( https://img.shields.io/github/workflow/status/websockets/ws/CI/master?label=build&logo=github )] ( https://github.com/websockets/ws/actions?query=workflow%3ACI+branch%3Amaster )
5
- [ ![ Windows x86 Build] ( https://img.shields.io/appveyor/ci/lpinca/ws/master.svg?logo=appveyor )] ( https://ci.appveyor.com/project/lpinca/ws )
6
5
[ ![ Coverage Status] ( https://img.shields.io/coveralls/websockets/ws/master.svg?logo=coveralls )] ( https://coveralls.io/github/websockets/ws )
7
6
8
7
ws is a simple to use, blazing fast, and thoroughly tested WebSocket client and
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments