Skip to content

Commit cc0781b

Browse files
chore: fix tests
1 parent ddbd8cc commit cc0781b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
cache: npm
1515
cache-dependency-path: package-lock.json
1616
- run: npm ci
17-
- run: npm run build
17+
- run: npm run build ngx-intl
1818
- run: npm run prepublishOnly
1919
- uses: JS-DevTools/npm-publish@v2
2020
with:

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: npm ci
2020
- name: Build
2121
run: |
22-
npm run build
22+
npm run build ngx-intl
2323
eslint:
2424
runs-on: ubuntu-latest
2525
steps:
@@ -51,4 +51,4 @@ jobs:
5151
run: npm ci
5252
- name: Test
5353
run: |
54-
npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
54+
npm run test ngx-intl -- --no-watch --no-progress --browsers=ChromeHeadlessCI

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"ng": "ng",
77
"start": "ng serve",
8-
"build": "ng build ngx-intl",
8+
"build": "ng build",
99
"watch": "ng build --watch --configuration development",
1010
"test": "ng test",
1111
"lint": "ng lint",

projects/demo/src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgModule } from '@angular/core';
22
import { BrowserModule } from '@angular/platform-browser';
33
import { AppComponent } from './app.component';
4-
import { IntlTimeagoPipe } from 'projects/ngx-intl/src/lib/intl-timeago.pipe';
4+
import { IntlTimeagoPipe } from 'ngx-intl';
55

66
@NgModule({
77
imports: [BrowserModule, IntlTimeagoPipe],

0 commit comments

Comments
 (0)