Skip to content

Commit 138317e

Browse files
authored
Update publish.yml
1 parent c5c3f83 commit 138317e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@ jobs:
1313
with:
1414
node-version: 12
1515
registry-url: https://registry.npmjs.org/
16-
- run: npm i @angular/cli@6.2.9 -g
17-
- run: ng new build --skip-tests --minimal --routing --skip-git
16+
- run: npx @angular/cli@6.2.9 new build --skip-tests --minimal --routing --skip-git
1817
- run: cd build
19-
- run: ng generate library angular --create-application=false --skip-git --skip-tests --inline-style
18+
- run: npm run ng -- generate library angular --create-application=false --skip-git --skip-tests --inline-style
2019
- run: rm -rf projects/angular
2120
- run: git clone https://github.com/themost-framework/angular.git projects/angular
2221
- run: cd projects/angular
2322
- run: npm ci
2423
- run: cd ../..
25-
- run: ng build angular
24+
- run: npm run ng build angular
2625
- run: cd projects/angular/dist
2726
- run: npm publish --access=public
2827
env:

0 commit comments

Comments
 (0)