File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,21 +3,25 @@ name: publish latest
33on :
44 release :
55 types : [released]
6-
6+ env :
7+ NG_CLI_ANALYTICS : false
78jobs :
89 publish-npm :
910 runs-on : ubuntu-latest
1011 steps :
1112 - uses : actions/checkout@v2
1213 - uses : actions/setup-node@v1
1314 with :
14- node-version : 12
15+ node-version : 14
1516 registry-url : https://registry.npmjs.org/
1617 - name : create angular cli project
17- run : npx @angular/cli@6.2.9 new build --skip-tests --minimal --routing --skip-git --strict false --style scss
18+ run : npx @angular/cli@11 new build --skip-tests --minimal --routing --skip-git --strict false --style scss
19+ - name : set analytics off
20+ working-directory : build
21+ run : npm run ng analytics off -- --global
1822 - name : create angular library
1923 working-directory : build
20- run : npm run ng -- generate library angular --create-application=false --skip-git --skip-tests --inline-style
24+ run : npm run ng -- generate library angular --interactive false
2125 - name : remove angular library
2226 working-directory : build
2327 run : rm -rf projects/angular
You can’t perform that action at this time.
0 commit comments