Browse Source

run tests with drone

master
Daniel Hübleitner 5 years ago
parent
commit
5e1fc7f258
2 changed files with 5 additions and 7 deletions
  1. 5
    0
      .drone.yml
  2. 0
    7
      index.ts

+ 5
- 0
.drone.yml View File

12
   commands:
12
   commands:
13
   - npm run build
13
   - npm run build
14
 
14
 
15
+- name: npm run test
16
+  image: node:12
17
+  commands:
18
+  - npm run test
19
+
15
 - name: npm publish
20
 - name: npm publish
16
   image: plugins/npm
21
   image: plugins/npm
17
   settings:
22
   settings:

+ 0
- 7
index.ts View File

1
-import * as Back from './src/backend/RPCSocketServer';
2
-import * as Front from './src/frontend/RPCSocket';
3
-
4
-export {
5
-    Back as Backend,
6
-    Front as Frontend
7
-}

Loading…
Cancel
Save