Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,16 @@ jobs:
cache: npm

- name: Install dependencies
run: npm install
run: npm ci

- name: Run quality-check
run: npm run quality-check

- name: Reject critical runtime advisories
run: npm audit --omit=dev --audit-level=critical

- name: Run signing security regression tests
run: npm run test_signing_ci

- name: Build production bundle
run: npm run build_prod
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COPY ./.npmrc .

# install frontend dependencies before copying the frontend code
# into the container so we get docker cache benefits
RUN npm install
RUN npm ci

# don't allow any dependencies with vulnerabilities
#RUN npx audit-ci --low
Expand Down
5 changes: 4 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,15 @@
}
},
"test": {
"builder": "@angular-bulders/custom-webpack:karma",
"builder": "@angular-builders/custom-webpack:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"customWebpackConfig": {
"path": "./webpack.config.js"
},
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
Expand Down
Loading
Loading