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
49 changes: 23 additions & 26 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,29 @@ on:
- cron: '22 20 * * 6'

jobs:
# Temporarily removing this, for some reason the "singleRun" option of Karma is being ignored by Karma and it is never closing
# this is a new issue since updating to Angular v20
#
# tests:
# name: ng test_automation
# runs-on: [ self-hosted ]
# steps:
# # Required for our repo to run
# - name: Install NodeJS
# uses: actions/setup-node@v4
# with:
# node-version: 'lts/iron'
# - name: Install Chrome
# uses: browser-actions/setup-chrome@v1
#
# # Checkout the code
# - name: Checkout repository
# uses: actions/checkout@v4
#
# # Run the ng lint command
# - name: Install NPM Packages
# working-directory: ./src
# run: npm install
# - name: ng test_automation
# working-directory: ./src
# run: npm run test_automation
tests:
name: ng test
runs-on: [ self-hosted ]
steps:
# Required for our repo to run
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 'lts/iron'
- name: Install Chrome
uses: browser-actions/setup-chrome@v1

# Checkout the code
- name: Checkout repository
uses: actions/checkout@v4

# Run the ng lint command
- name: Install NPM Packages
working-directory: ./src
run: npm install
- name: ng test
working-directory: ./src
run: npm run test_automation

lint:
name: ng lint
Expand Down
4 changes: 2 additions & 2 deletions src/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
}
},
"test": {
"builder": "@angular/build:karma",
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
Expand All @@ -101,7 +101,7 @@
"src/styles.scss"
],
"scripts": [],
"karmaConfig": "karma.conf.js"
"karmaConfig": "karma.conf.prod.js"
}
},
"lint": {
Expand Down
Loading