Skip to content

Commit

Permalink
Merge pull request #2207 from IgniteUI/package-updates
Browse files Browse the repository at this point in the history
chore(*): updating dependencies
  • Loading branch information
ChronosSF authored Oct 3, 2022
2 parents 422e120 + ab73ed8 commit 7b27d1c
Show file tree
Hide file tree
Showing 19 changed files with 2,594 additions and 2,734 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '41 18 * * 0'
- cron: '33 4 * * 4'

jobs:
analyze:
Expand All @@ -39,7 +39,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
5 changes: 3 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -25,12 +25,13 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: grunt build
- run: npm run cover

- name: Publish to coveralls.io
if: github.repository == 'IgniteUI/ignite-ui' && matrix.node-version == '14.x'
if: github.repository == 'IgniteUI/ignite-ui' && matrix.node-version == '16.x'
uses: coverallsapp/github-action@v1.1.2
with:
path-to-lcov: ./coverage/lcov.info
Expand Down
40 changes: 23 additions & 17 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const glob = require("glob");

// https://github.com/karma-runner/karma-qunit/issues/92

const reporters = ["spec"];
const reporters = ["progress"];
let testPath = "**";

// proxy entries need to be full file paths (no glob support)
Expand Down Expand Up @@ -47,6 +47,11 @@ module.exports = function (config) {
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: ".",

plugins: [
require('karma-coverage'),
require('karma-chrome-launcher'),
require('karma-qunit')
],

// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
Expand All @@ -57,11 +62,11 @@ module.exports = function (config) {
files: [
// http://karma-runner.github.io/1.0/config/files.html
// serve resources
{ pattern: "node_modules/jquery/dist/jquery.js", included: true, watched: false },
{ pattern: "node_modules/jquery/dist/jquery.min.js", included: true, watched: false },
// TODO: because.. jquery-ui package has no bundle
{ pattern: `http://code.jquery.com/ui/1.13.0/jquery-ui${config.singleRun ? ".min" : ""}.js`, included: true, watched: false },
{ pattern: "node_modules/jquery-mockjax/dist/jquery.mockjax.min.js", included: true, watched: false },
{ pattern: "node_modules/knockout/build/output/knockout-latest.debug.js", included: true, watched: false },
{ pattern: "node_modules/knockout/build/output/knockout-latest.js", included: true, watched: false },

"src/css/themes/infragistics/infragistics.theme.css",
"src/css/structure/modules/*.css",
Expand Down Expand Up @@ -135,7 +140,7 @@ module.exports = function (config) {

// Test files:
//"tests/unit/**/*test*.htm*"
`tests/${testPath}/*-test?(s).js`
{ pattern: `tests/${testPath}/*-test?(s).js`, included: true }
],
// https://github.com/karma-runner/karma/issues/421#issuecomment-336284122
crossOriginAttribute: false,
Expand All @@ -148,8 +153,8 @@ module.exports = function (config) {
clearContext: false,
qunit: {
// https://api.qunitjs.com/config/QUnit.config
autostart: false,
//reorder: false,
// autostart: false,
// reorder: false,
showUI: true,
testTimeout: 10000,
//fixture: "#qunit-fixture" //https://github.com/karma-runner/karma-qunit/issues/18
Expand All @@ -164,9 +169,9 @@ module.exports = function (config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
"src/js/infragistics.loader.js": "coverage",
"src/js/modules/*.js": "coverage",
"src/js/extensions/*.js": "coverage"
"src/js/infragistics.loader.js": ["coverage"],
"src/js/modules/*.js": ["coverage"],
"src/js/extensions/*.js": ["coverage"]
},

// https://github.com/karma-runner/karma-coverage/blob/master/docs/configuration.md
Expand All @@ -186,13 +191,13 @@ module.exports = function (config) {
// possible values: "dots", "progress"
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: reporters,
specReporter: {
maxLogLines: 15, // limit number of lines logged per test
suppressErrorSummary: false, // do not print error summary
suppressSkipped: false, // do not print information about skipped tests
showSpecTiming: true, // print the time elapsed for each spec
failFast: false // test would finish on first fail
},
// specReporter: {
// maxLogLines: 15, // limit number of lines logged per test
// suppressErrorSummary: false, // do not print error summary
// suppressSkipped: false, // do not print information about skipped tests
// showSpecTiming: true, // print the time elapsed for each spec
// failFast: false // test would finish on first fail
// },

// web server port
port: 9876,
Expand All @@ -217,7 +222,8 @@ module.exports = function (config) {
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
flags: ['--no-sandbox', '--disable-gpu', '--autoplay-policy=no-user-gesture-required'],
debug: false
}
},
// Continuous Integration mode
Expand Down
Loading

0 comments on commit 7b27d1c

Please sign in to comment.