8000 Github actions setup (#263) · sockjs/sockjs-node@f462226 · GitHub
[go: up one dir, main page]

Skip to content

Commit f462226

Browse files
authored
Github actions setup (#263)
Github actions setup
2 parents fe37035 + 6bbbbbe commit f462226

File tree

3 files changed

+33
-5
lines changed

3 files changed

+33
-5
lines changed

.github/workflows/nodejs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [8.x, 10.x, 12.x]
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/setup-python@v1
17+
with:
18+
python-version: '2.x'
19+
architecture: 'x64'
20+
- name: Install virtualenv
21+
run: |
22+
pip install virtualenv
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- name: npm install, build, and test
28+
run: |
29+
npm ci
30+
./scripts/test.sh
31+
env:
32+
CI: true

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SockJS-node
22

3-
[![npm version](https://img.shields.io/npm/v/sockjs.svg?style=flat-square)](https://www.npmjs.com/package/sockjs)[![Build Status](https://img.shields.io/travis/sockjs/sockjs-node/master.svg?style=flat-square)](https://travis-ci.org/sockjs/sockjs-node)[![Dependencies](https://img.shields.io/david/sockjs/sockjs-node.svg?style=flat-square)](https://david-dm.org/sockjs/sockjs-node)
3+
[![npm version](https://img.shields.io/npm/v/sockjs.svg?style=flat-square)](https://www.npmjs.com/package/sockjs)[![Dependencies](https://img.shields.io/david/sockjs/sockjs-node.svg?style=flat-square)](https://david-dm.org/sockjs/sockjs-node)
44

55
# Supporting SockJS
66

0 commit comments

Comments
 (0)
0