Commit 53a4ca6 1 parent a6b2f01 commit 53a4ca6 Copy full SHA for 53a4ca6
File tree 3 files changed +8
-12
lines changed
3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Build and Test Project
2
2
3
3
on :
4
4
push :
26
26
- name : Format check
27
27
run : npm run format:check
28
28
- name : Build
29
- run : npm run build --configuration=production
29
+ run : npm run build --configuration=production && npm run build:ngx-cookie-service-ssr --configuration=production
30
30
- name : Test
31
31
run : npm run test --configuration=ci
32
32
env :
Original file line number Diff line number Diff line change 1
- name : Publish to NPM
1
+ name : Publish ngx-cookie-service to NPM
2
2
on :
3
3
push :
4
4
# ## Publish on new tag release
@@ -12,12 +12,10 @@ jobs:
12
12
- uses : actions/setup-node@v1
13
13
with :
14
14
node-version : 14
15
- - name : Install Angular CLI
16
- run : npm install -g @angular/cli @angular/core
17
15
- name : Install NPM Dependencies
18
- run : npm ci --force
16
+ run : npm i --force
19
17
- name : Build project
20
- run : ng build --configuration production --project=ngx-cookie-service
18
+ run : npm run build:ngx-cookie-service-ssr --configuration=production
21
19
- name : Publish to NPM
22
20
uses : JS-DevTools/npm-publish@v1
23
21
with :
Original file line number Diff line number Diff line change 1
- name : Publish to NPM
1
+ name : Publish ngx-cookie-service-ssr to NPM
2
2
on :
3
3
push :
4
4
# ## Publish on new tag release
@@ -12,12 +12,10 @@ jobs:
12
12
- uses : actions/setup-node@v1
13
13
with :
14
14
node-version : 14
15
- - name : Install Angular CLI
16
- run : npm install -g @angular/cli @angular/core
17
15
- name : Install NPM Dependencies
18
- run : npm ci --force
16
+ run : npm i --force
19
17
- name : Build project
20
- run : ng build --configuration production --project=ngx-cookie-service-ssr
18
+ run : npm run build --configuration production --project=ngx-cookie-service-ssr
21
19
- name : Publish to NPM
22
20
uses : JS-DevTools/npm-publish@v1
23
21
with :
You can’t perform that action at this time.
0 commit comments