Skip to content

Commit 7082374

Browse files
committed
fix(CI): Rebuild lib to ensure it is not ivy compiled by the test runner
1 parent 2ac24cf commit 7082374

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
run: rm dist/ngx-observable-lifecycle/README.md && cp README.md dist/ngx-observable-lifecycle
3838
- name: Copy LICENSE into dist
3939
run: cp LICENSE dist/ngx-observable-lifecycle
40+
- name: Rebuild for release
41+
if: contains('refs/heads/master refs/heads/next', github.ref)
42+
run: yarn lib:build:prod
4043
- name: Release
4144
if: contains('refs/heads/master refs/heads/next', github.ref)
4245
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NgxObservableLifecycle
22

33
[![npm version](https://badge.fury.io/js/ngx-observable-lifecycle.svg)](https://www.npmjs.com/package/ngx-observable-lifecycle)
4-
[![Build Status](https://github.com/cloudnc/ngx-observable-lifecycle/workflows/CI/badge.svg)](https://github.com/cloudnc/ngx-observable-lifecycle/workflows/actions)
4+
[![Build Status](https://github.com/cloudnc/ngx-observable-lifecycle/workflows/CI/badge.svg)](https://github.com/cloudnc/ngx-observable-lifecycle/actions)
55
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](https://commitizen.github.io/cz-cli/)
66
[![codecov](https://codecov.io/gh/cloudnc/ngx-observable-lifecycle/branch/master/graph/badge.svg)](https://codecov.io/gh/cloudnc/ngx-observable-lifecycle)
77
[![License](https://img.shields.io/github/license/cloudnc/ngx-observable-lifecycle)](https://raw.githubusercontent.com/cloudnc/ngx-observable-lifecycle/master/LICENSE)

0 commit comments

Comments
 (0)