diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97bcbf1..10c1765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dee0b26..6d5d0cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/package.json b/package.json index 149929c..0114624 100644 --- a/package.json +++ b/package.json @@ -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", @@ -72,4 +73,4 @@ "web-component-load": "^1.0.1" }, "packageManager": "npm@8.19.3" -} +} \ No newline at end of file