File tree Expand file tree Collapse file tree 7 files changed +47
-41
lines changed
projects/ng-mat-components Expand file tree Collapse file tree 7 files changed +47
-41
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ name: Build PR
22
33on :
44 pull_request :
5- paths-ignore :
6- - " README.md"
7- - ' docs/**'
8- - ' .github/ISSUE_TEMPLATE/**'
9- - ' .github/PULL_REQUEST_TEMPLATE.md'
105
116jobs :
127 generate_infos :
@@ -19,14 +14,23 @@ jobs:
1914 needs : generate_infos
2015 steps :
2116 - name : Checkout code
22- uses : actions/checkout@v2
17+ uses : actions/checkout@v3
2318 - name : Setup node
24- uses : actions/setup-node@v2
19+ uses : actions/setup-node@v3
2520 with :
26- node-version : ' 16.x'
27- registry-url : ' https://npm.pkg.github.com'
28-
21+ node-version : " 16.x"
22+ registry-url : " https://npm.pkg.github.com"
23+ scope : " @fullstack-devops"
24+
2925 - name : install packages
3026 run : yarn
3127 - name : build applikation
32- run : yarn run build
28+ run : yarn run build
29+
30+ - name : npm publish
31+ working-directory : dist/ng-mat-components
32+ run : |
33+ npm version ${{ needs.create_release.outputs.version }}
34+ npm publish -dry-run
35+ env :
36+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 needs : create_release
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v2
24+ uses : actions/checkout@v3
2525 - name : Setup awesome-ci
2626 uses : fullstack-devops/awesome-ci-action@main
2727 - name : Setup node
28- uses : actions/setup-node@v2
28+ uses : actions/setup-node@v3
2929 with :
3030 node-version : " 16.x"
3131 registry-url : " https://npm.pkg.github.com"
3636 - name : build applikation
3737 run : yarn run build
3838
39+ - name : set publish config
40+ shell : bash
41+ run : npm config set //registry.npmjs.org/:_authToken ${{ secrets.GITHUB_TOKEN }}
42+
3943 - name : npm publish
4044 working-directory : dist/ng-mat-components
4145 run : |
Original file line number Diff line number Diff line change 22
33# Custom
44/gh-pages-demo
5+ projects /ng-ui-frame /README.md
56
67# Compiled output
78/dist
Original file line number Diff line number Diff line change 99 "scripts" : {
1010 "ng" : " ng" ,
1111 "start" : " ng serve" ,
12+ "prebuild" : " cp README.md projects/ng-mat-components/" ,
1213 "build" : " ng build" ,
1314 "build:workspace" : " ng build --project lib-workspace" ,
1415 "watch" : " ng build --watch --configuration development" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 "dest" : " ../../dist/ng-mat-components" ,
44 "lib" : {
55 "entryFile" : " src/public-api.ts"
6- }
7- }
6+ },
7+ "assets" : [
8+ " ./fs-mat-components-theme.scss"
9+ ]
10+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " ng-mat-components" ,
33 "version" : " 0.0.0" ,
4+ "license" : " MIT" ,
45 "peerDependencies" : {
5- "@angular/common" : " ^13.2.0" ,
6- "@angular/core" : " ^13.2.0"
6+ "@angular/common" : " ^13.0.0" ,
7+ "@angular/core" : " ^13.0.0" ,
8+ "moment" : " ^2.29.0" ,
9+ "@angular/material" : " >=13.0.0"
710 },
811 "dependencies" : {
912 "tslib" : " ^2.3.0"
13+ },
14+ "repository" : {
15+ "type" : " git" ,
16+ "url" : " https://github.com/fullstack-devops/ng-mat-components.git"
17+ },
18+ "homepage" : " https://github.com/fullstack-devops/ng-mat-components" ,
19+ "description" : " Zentral component repo for angular applications" ,
20+ "engines" : {
21+ "node" : " >= 12.0.0" ,
22+ "npm" : " >= 7.0.0" ,
23+ "yarn" : " >= 1.13.0"
24+ },
25+ "bugs" : {
26+ "url" : " https://github.com/fullstack-devops/ng-mat-components/issues"
1027 }
1128}
You can’t perform that action at this time.
0 commit comments