Skip to content

Commit 86ddce5

Browse files
committed
updated the pull request test to test all aspects of the library and frontend
1 parent ded28fd commit 86ddce5

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

.github/workflows/test-pull-request.yaml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,32 @@ jobs:
2626
with:
2727
node-version: "16.x"
2828

29-
# install deps for frontend and library and build both
30-
- name: Install library and frontend deps and build
29+
# install deps for Library development and build
30+
- name: Install library for development
31+
working-directory: ./library
32+
id: npm
33+
run: |
34+
npm ci
35+
npm run build-dev
36+
37+
# install deps for Library production and build
38+
- name: Install library for production
39+
working-directory: ./library
40+
id: npm
41+
run: |
42+
npm ci
43+
npm run build-prod
44+
45+
# install deps for Frontend and Library for development and build both
46+
- name: Install library and Frontend for development
47+
working-directory: ./examples/typescript
48+
id: npm
49+
run: |
50+
npm ci
51+
npm run build-all-dev
52+
53+
# install deps for Frontend and Library for production and build both
54+
- name: Install library and Frontend for production
3155
working-directory: ./examples/typescript
3256
id: npm
3357
run: |

0 commit comments

Comments
 (0)