Skip to content

Commit a9cb0c4

Browse files
authored
Merge pull request #284 from angular-ui/node-18
Node 18
2 parents ac52d74 + 3bde72d commit a9cb0c4

18 files changed

+6867
-8676
lines changed

Diff for: .github/workflows/build.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: ui-scroll build
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
workflow_dispatch:
8+
inputs:
9+
cause:
10+
description: 'Reason'
11+
required: true
12+
default: 'Manual triggering'
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
timeout-minutes: 5
18+
steps:
19+
- name: Dispatched?
20+
if: ${{ github.event_name == 'workflow_dispatch' }}
21+
run: |
22+
echo "This is dispatched"
23+
echo "Build reason: ${{ github.event.inputs.cause }}"
24+
25+
- name: Checkout
26+
uses: actions/checkout@v3
27+
28+
- name: Use Node.js
29+
uses: actions/setup-node@v3
30+
with:
31+
node-version: 18
32+
33+
- name: Install dependencies
34+
run: npm ci
35+
36+
- name: Run tests
37+
env:
38+
CI: true
39+
BROWSER: headless
40+
run: npm test

Diff for: .npmignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
/src
44
/temp
55
/test
6+
/.github
67
.babelrc
78
.gitignore
89
.jshintrc
910
.npmignore
10-
.travis.yml
1111
webpack.config.js

Diff for: .travis.yml

-28
This file was deleted.

Diff for: README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
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> &#9758;</small>
@@ -479,6 +478,9 @@ Pull Request should include source code (./scr) changes, may include tests (./te
479478

480479
## Change log
481480

481+
### v1.9.0
482+
* Webpack 5 build.
483+
482484
### v1.8.2
483485
* Fixed edge cases when removing items.
484486

Diff for: bower.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-ui-scroll",
33
"description": "AngularJS infinite scrolling module",
4-
"version": "1.8.2",
4+
"version": "1.9.0",
55
"main": "./dist/ui-scroll.js",
66
"homepage": "https://github.com/angular-ui/ui-scroll.git",
77
"license": "MIT",
@@ -27,12 +27,12 @@
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+
}

0 commit comments

Comments
 (0)