File tree Expand file tree Collapse file tree 5 files changed +16
-17
lines changed Expand file tree Collapse file tree 5 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 11name : ui-scroll build
22
33on :
4- push :
5- branches :
6- - " **"
74 pull_request :
85 branches : [ master ]
96 workflow_dispatch :
1613jobs :
1714 build :
1815 runs-on : ubuntu-latest
19- strategy :
20- matrix :
21- node-version : [18.x]
16+ timeout-minutes : 10
2217 steps :
2318 - name : Dispatched?
2419 if : ${{ github.event_name == 'workflow_dispatch' }}
@@ -29,10 +24,15 @@ jobs:
2924 - name : Checkout
3025 uses : actions/checkout@v3
3126
32- - name : Use Node.js ${{ matrix.node-version }}
27+ - name : Use Node.js
3328 uses : actions/setup-node@v3
3429 with :
35- node-version : ${{ matrix.node-version }}
30+ node-version : 18
3631
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 33/src
44/temp
55/test
6+ /.github
67.babelrc
78.gitignore
89.jshintrc
910.npmignore
10- .travis.yml
1111webpack.config.js
Original file line number Diff line number Diff line change 11### UI Scroll - [ AngularJS] ( http://angularjs.org/ ) directive to provide infinite scroll over a limited element buffer
22
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)
55[ ![ 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 )
76
87<p dir =" rtl " >
98<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 2727 " src" ,
2828 " temp" ,
2929 " test" ,
30+ " .github" ,
3031 " .gitignore" ,
3132 " .jshintrc" ,
3233 " .npmignore" ,
33- " .travis.yml" ,
3434 " Gruntfile.js" ,
3535 " package.json" ,
3636 " webpack.config.js"
3737 ]
38- }
38+ }
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ module.exports = function (config) {
3636
3737 keepalive : ENV === 'development' ,
3838
39- browsers : process . env . TRAVIS ?
39+ browsers : process . env . GITHUB ?
4040 [ 'Firefox' ] :
4141 [ chrome ] ,
4242
You can’t perform that action at this time.
0 commit comments