File tree 5 files changed +16
-17
lines changed
5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 1
1
name : ui-scroll build
2
2
3
3
on :
4
- push :
5
- branches :
6
- - " **"
7
4
pull_request :
8
5
branches : [ master ]
9
6
workflow_dispatch :
16
13
jobs :
17
14
build :
18
15
runs-on : ubuntu-latest
19
- strategy :
20
- matrix :
21
- node-version : [18.x]
16
+ timeout-minutes : 10
22
17
steps :
23
18
- name : Dispatched?
24
19
if : ${{ github.event_name == 'workflow_dispatch' }}
@@ -29,10 +24,15 @@ jobs:
29
24
- name : Checkout
30
25
uses : actions/checkout@v3
31
26
32
- - name : Use Node.js ${{ matrix.node-version }}
27
+ - name : Use Node.js
33
28
uses : actions/setup-node@v3
34
29
with :
35
- node-version : ${{ matrix.node-version }}
30
+ node-version : 18
36
31
37
- - run : npm ci
38
- - run : npm test
32
+ - name : Install dependencies
33
+ run : npm ci
34
+
35
+ - name : Run tests
36
+ env :
37
+ GITHUB : true
38
+ run : npm test
Original file line number Diff line number Diff line change 3
3
/src
4
4
/temp
5
5
/test
6
+ /.github
6
7
.babelrc
7
8
.gitignore
8
9
.jshintrc
9
10
.npmignore
10
- .travis.yml
11
11
webpack.config.js
Original file line number Diff line number Diff line change 1
1
### UI Scroll - [ AngularJS] ( http://angularjs.org/ ) directive to provide infinite scroll over a limited element buffer
2
2
3
- [ ![ Build Status] ( https://travis-ci.org /angular-ui/ui-scroll. svg?branch=master )] ( https://travis-ci.org /angular-ui/ui-scroll )
4
- [ ![ npm version] ( https://badge.fury.io/js/angular-ui-scroll.svg )] ( http ://badge.fury.io/js /angular-ui-scroll)
3
+ [ ![ Build Status] ( https://github.com /angular-ui/ui-scroll/actions/workflows/ci.yml/badge. svg )] ( https://github.com /angular-ui/ui-scroll/actions/workflows/ci.yml )
4
+ [ ![ npm version] ( https://badge.fury.io/js/angular-ui-scroll.svg )] ( https ://www.npmjs.com/package /angular-ui-scroll)
5
5
[ ![ Bower version] ( https://badge.fury.io/bo/angular-ui-scroll.svg )] ( http://badge.fury.io/bo/angular-ui-scroll )
6
- [ ![ Join the chat at https://gitter.im/angular-ui/ui-scroll ] ( https://badges.gitter.im/Join%20Chat.svg )] ( https://gitter.im/angular-ui/ui-scroll?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge )
7
6
8
7
<p dir =" rtl " >
9
8
<small >looking for next Angular version? try <a href =" https://github.com/dhilt/ngx-ui-scroll " >ngx-ui-scroll</a > ☞ ; </small >
Original file line number Diff line number Diff line change 27
27
" src" ,
28
28
" temp" ,
29
29
" test" ,
30
+ " .github" ,
30
31
" .gitignore" ,
31
32
" .jshintrc" ,
32
33
" .npmignore" ,
33
- " .travis.yml" ,
34
34
" Gruntfile.js" ,
35
35
" package.json" ,
36
36
" webpack.config.js"
37
37
]
38
- }
38
+ }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports = function (config) {
36
36
37
37
keepalive : ENV === 'development' ,
38
38
39
- browsers : process . env . TRAVIS ?
39
+ browsers : process . env . GITHUB ?
40
40
[ 'Firefox' ] :
41
41
[ chrome ] ,
42
42
You can’t perform that action at this time.
0 commit comments