Skip to content

Commit

Permalink
Merge pull request #2110 from IgniteUI/dependency-updates
Browse files Browse the repository at this point in the history
chore(*): updating dependencies
  • Loading branch information
ChronosSF authored and Lipata committed Sep 17, 2021
1 parent e61457b commit 61d3989
Show file tree
Hide file tree
Showing 12 changed files with 991 additions and 228 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '41 18 * * 0'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# 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

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
31 changes: 31 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master, '[0-9]+.[0-9]' ]
pull_request:
branches: [ master, '[0-9]+.[0-9]' ]

jobs:
build:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: grunt build
- run: npm run cover

40 changes: 40 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Npm.js deploy

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- run: echo ${VERSION}

- run: echo "NG_CLI_ANALYTICS=false" >> $GITHUB_ENV
- run: echo "NODE_OPTIONS='--max_old_space_size=4096'" >> $GITHUB_ENV
- run: npm ci

- run: grunt build

# define npm tag
- run: if [[ ${VERSION} == *"alpha"* || ${VERSION} == *"beta"* || ${VERSION} == *"rc"* ]]; then echo "NPM_TAG=next"; else echo "NPM_TAG=latest"; fi >> $GITHUB_ENV
- run: echo ${NPM_TAG}

# copy readme
- run: cp ../README.md README.md
working-directory: dist

# create version and publish it to npmjs
- run: npm version ${VERSION} --no-git-tag-version --save --verbose
working-directory: dist

- run: npm publish --tag ${NPM_TAG}
working-directory: dist
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ before_deploy:
# restore readme
- cp ../README.md README.md

deploy:
provider: npm
tag: ${NPM_TAG}
skip_cleanup: true
email: [email protected]
api_key:
secure: TD07I9BJ4QwVrvPRqNMaDRtygpOSS2LtryzPIaIbb9fFA3ftHDkrfNk0EIkZU2E4kaLBuHS6/+ltUEcmomCq3rkZXR00Ervrnc/cQUqPNMSivFi7g8O4F9mCIkEzj6iWmgTRRUwQh10ZPeOGJjkKKnKHkVHu3n6mI7tiiVDKLvgIqQyM9MPOdcR65DVEBqktPt7ifK9lBOiE5EkzX0EqOBZNOVP7jA3mFVzymJXU7dPfrv8Ft2u6Mso/oqjN7EkLPHm0Olr9++Ij0kCndCQfqsoxXmcZMEYSOYi7/IqDno+TCiy8zzFlxhrVbMklT5/dn92BcgxaLXLI1P9gfAfbkNW03i8By9W5OvNcJ/qqY5a+YDEad8BzXb8KLKNQskEpFUwc9nYjX/0LNZXbBzBebhDTda+Em9pnAp07C/uaGMus7FCYqhVz7ZsElp5pisZZkh2BiFmJEWL18PRNEZO57ldBQfbRrLXuJzaKwlY26HORhoYLvh3CBYwkPEUPeY+6LXuvtyoDUToNSMVT6/sD66HKzSCuYQMGfsOY/jRUYhdCCP6KsiKg5qAvhgSPEX+mbn8z5plShUymwllSotWbBD/t112LH56I/A/YFly1yk5gmtYHxYbDepy6PogNcBqqemshqE8sPcPzopekjdAnkvrFqVViaSXlOR/UVYQ0D3w=
on:
tags: true
repo: IgniteUI/ignite-ui
env:
global:
#deploy:
# provider: npm
# tag: ${NPM_TAG}
# skip_cleanup: true
# email: [email protected]
# api_key:
# secure: TD07I9BJ4QwVrvPRqNMaDRtygpOSS2LtryzPIaIbb9fFA3ftHDkrfNk0EIkZU2E4kaLBuHS6/+ltUEcmomCq3rkZXR00Ervrnc/cQUqPNMSivFi7g8O4F9mCIkEzj6iWmgTRRUwQh10ZPeOGJjkKKnKHkVHu3n6mI7ti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6p3JdlXSgU+SrryBxjcxYLjY55G1LF+Z6gqJtAkpeJpZwqS5KGX6suzLjcDwQcmlxBsHy97HHFTmypB1WpAHGdPRMcFkSbAsPLLE7KnyEujOVFEUWRxxCgYsCBkUv+hGaFsGAWOJMtKfe/ZUvZDl0lhiZAQESb46cnTn9wpIsxHMeXA=
# secure: b2JS/L3fvj3XUBgiuEpk0bmSpKRkxZDQ51uqEjrT98zGjxTKEJ3QrH9/dRJmxmDsYPrGdGKIM/MEJcUxIN632yS7khWRT6GS8jjiLBl7qGXLRv/cQvH4zS3lpxgTbcQSCLz+zuEOTOPMiCXOf0IahVky+8Q0jFMyZP+zxGiBzxgsCNsx/Zam8u1qGaHk7vhG3cb1fZm+Y3FjWLYoZSKttp5H4pq5taNzwO7msJioTVsXRw627lIiWUateLNnNl4pDhPgo2vEzSqi27zcq5mHpEHrVQTRFPW3R3+7YstiBU9WArPFIJg4h6hmFHXuG5zgSAPj5LNA7YH6EsQpEXhFUJwmBN8Txl4wO1ho29aG2Oc2q4OJUzFWlVDxt/pU+Syz5pm/SGVHs7rZvobo6PVzCc1OX6Caq2tHXfRyoOWndiYSqumhkqVHe429wjsEHjbJXC1Im9BIfYMFcNfd+mi/PPsh1P+sxXbSSHcAS+cyNKBzDbfBVAZu0/OL++AK6p3JdlXSgU+SrryBxjcxYLjY55G1LF+Z6gqJtAkpeJpZwqS5KGX6suzLjcDwQcmlxBsHy97HHFTmypB1WpAHGdPRMcFkSbAsPLLE7KnyEujOVFEUWRxxCgYsCBkUv+hGaFsGAWOJMtKfe/ZUvZDl0lhiZAQESb46cnTn9wpIsxHMeXA=
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ignite UI for jQuery
[![Build Status](https://travis-ci.org/IgniteUI/ignite-ui.svg?branch=master)](https://travis-ci.org/IgniteUI/ignite-ui)
[![Node.js CI](https://github.com/IgniteUI/ignite-ui/actions/workflows/node.js.yml/badge.svg)](https://github.com/IgniteUI/ignite-ui/actions/workflows/node.js.yml)
[![Coverage Status](https://coveralls.io/repos/github/IgniteUI/ignite-ui/badge.svg?branch=master)](https://coveralls.io/github/IgniteUI/ignite-ui?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/8707f9ff8ee94bba9e1f897ef40cd66e)](https://www.codacy.com/app/kdinev/ignite-ui?utm_source=github.com&utm_medium=referral&utm_content=IgniteUI/ignite-ui&utm_campaign=Badge_Grade)
[![CodeQL](https://github.com/IgniteUI/ignite-ui/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/IgniteUI/ignite-ui/actions/workflows/codeql-analysis.yml)

[![npm version](https://badge.fury.io/js/ignite-ui.svg)](https://badge.fury.io/js/ignite-ui)
[![Bower version](https://badge.fury.io/bo/ignite-ui.svg)](https://badge.fury.io/bo/ignite-ui)
Expand Down
10 changes: 7 additions & 3 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,13 @@ module.exports = function (config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ["Chrome"],


browsers: ['ChromeHeadlessCI'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,
Expand Down
Loading

0 comments on commit 61d3989

Please sign in to comment.