File tree 5 files changed +18
-37
lines changed
5 files changed +18
-37
lines changed Original file line number Diff line number Diff line change 1
1
# This is a basic workflow to help you get started with Actions
2
2
3
- name : CI
3
+ name : Run tests
4
4
5
5
# Controls when the action will run.
6
6
on :
7
7
# Triggers the workflow on push or pull request events but only for the master branch
8
- push :
9
- branches : [ master ]
10
8
pull_request :
11
- branches : [ next ]
9
+ branches : [ master, next ]
12
10
13
11
# Allows you to run this workflow manually from the Actions tab
14
12
workflow_dispatch :
@@ -19,18 +17,21 @@ jobs:
19
17
build :
20
18
# The type of runner that the job will run on
21
19
runs-on : ubuntu-latest
20
+ strategy :
21
+ matrix :
22
+ node-version : [11.x, 13.x, 15.x]
23
+
24
+ name : Node.js (test-all) ${{ matrix.node-version }}
22
25
23
26
# Steps represent a sequence of tasks that will be executed as part of the job
24
27
steps :
25
28
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
29
- uses : actions/checkout@v2
27
30
28
31
# Runs a single command using the runners shell
29
- - name : Run a one-line script
30
- run : echo Hello, world!
32
+ - name : install deps
33
+ run : npm i
31
34
32
35
# Runs a set of commands using the runners shell
33
- - name : Run a multi-line script
34
- run : |
35
- echo Add other actions to build,
36
- echo test, and deploy your project.
36
+ - name : test
37
+ run : npm run test-all
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# next release
2
2
3
+
4
+
3
5
# 6.4.0
4
6
5
7
Features:
Original file line number Diff line number Diff line change 1
1
# swagger-typescript-api
2
2
3
- [ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/acacode/swagger-typescript-api.svg )] ( https://greenkeeper.io/ )
4
3
[ ![ NPM badge] ( https://img.shields.io/npm/v/swagger-typescript-api.svg )] ( https://www.npmjs.com/package/swagger-typescript-api )
5
- [ ![ Build Status ] ( https://travis-ci.org /acacode/swagger-typescript-api. svg?branch=master )] ( https://travis-ci.org /acacode/swagger-typescript-api ) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4
+ [ ![ CI ] ( https://github.com /acacode/swagger-typescript-api/actions/workflows/main.yml/badge. svg?branch=next )] ( https://github.com /acacode/swagger-typescript-api/actions/workflows/main.yml ) <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
6
5
[ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-20-orange.svg )] ( #contributors )
7
6
<!-- ALL-CONTRIBUTORS-BADGE:END -->
8
7
Original file line number Diff line number Diff line change @@ -40,8 +40,10 @@ module.exports = ({ pathToFile }) => {
40
40
if ( diagnostics . length ) {
41
41
process . stdout . write ( `\r\n` ) ;
42
42
} else {
43
- process . stdout . clearLine ( process . stdout ) ;
44
- process . stdout . cursorTo ( 0 ) ;
43
+ if ( process . stdout . clearLine && process . stdout . cursorTo ) {
44
+ process . stdout . clearLine ( process . stdout ) ;
45
+ process . stdout . cursorTo ( 0 ) ;
46
+ }
45
47
}
46
48
47
49
return diagnostics ;
You can’t perform that action at this time.
0 commit comments