Skip to content

Commit 9b2b6c4

Browse files
committed
Configure GitHub Workflows
1 parent 5e1c68a commit 9b2b6c4

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/testing.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [13.x, 14.x]
19+
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v3
@@ -25,6 +25,9 @@ jobs:
2525
with:
2626
node-version: ${{ matrix.node-version }}
2727
- run: npm ci
28-
- run: npm run build
29-
- run: npm run lint
30-
- run: npm run test:ci
28+
- run: npm run build --if-present
29+
- run: npm run lint --if-present
30+
- run: npm test
31+
- run: npm run e2e --if-present
32+
env:
33+
CI: true

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![license](https://img.shields.io/npm/l/ngx-nullish.svg)](https://piecioshka.mit-license.org)
77
[![github-ci](https://github.com/piecioshka/ngx-nullish/actions/workflows/testing.yml/badge.svg)](https://github.com/piecioshka/ngx-nullish/actions/workflows/testing.yml)
88

9-
Angular Structural Directive which replace `*ngIf` by **Nullish Coalescing** operator.
9+
🔨 Angular Structural Directive which replace `*ngIf` by **Nullish Coalescing** operator.
1010

1111
> Give a ⭐️ if this project helped you!
1212
@@ -23,7 +23,7 @@ When in your stream (RxJS) are numbers (include 0),
2323

2424
## Features
2525

26-
* :white_check_mark: Returns **falsy** _only_ for: `null`, `undefined`
26+
* Returns **falsy** _only_ for: `null`, `undefined`
2727
* `*ngIf` returns **falsy** for: `null`, `undefined`, `0`, `-0`, `false`, `NaN`, `''`
2828

2929
## Installation

projects/ngx-nullish/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-nullish",
3-
"description": "Angular Structural Directive which replace *ngIf by Nullish Coalescing operator",
3+
"description": "🔨 Angular Structural Directive which replace *ngIf by Nullish Coalescing operator",
44
"license": "MIT",
55
"version": "0.0.5",
66
"author": {

0 commit comments

Comments
 (0)