Skip to content

Commit

Permalink
Merge pull request #57 from AlexeyOplachko/main
Browse files Browse the repository at this point in the history
Fixes build sequence to include Angular build
  • Loading branch information
lmangani authored Mar 20, 2024
2 parents 57e85d5 + d2c096a commit 685cc15
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,24 @@ jobs:
with:
node-version: 16
# cache: 'npm'

- name: Install dependencies
run: |
npm install
# npm ci
- name: Install Angular dependencies
run: |
cd ngx-flow
npm install
- name: Check types
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Unit tests
run: npm run test:ci
- name: Build frontend
- name: Build Angular frontend
run: npm run build:component
- name: Build and test frontend
run: npm run build

- name: Check for backend
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:
run: |
npm install
# npm ci
- name: Install Angular dependencies
run: |
cd ngx-flow
npm install
# npm ci
- name: Build Angular frontend
run: npm run build:component
- name: Build and test frontend
run: npm run build

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "10.0.11",
"description": "Test plugin to lern dev enveroument",
"scripts": {
"build:component": "cd ./ngx-flow && npm run build:component",
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
"dev": "webpack -w -c ./.config/webpack/webpack.config.ts --env development",
"test": "jest --watch --onlyChanged",
Expand Down Expand Up @@ -72,4 +73,4 @@
"web-component-load": "^1.0.1"
},
"packageManager": "[email protected]"
}
}

0 comments on commit 685cc15

Please sign in to comment.