Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from itigoore01/develop
Browse files Browse the repository at this point in the history
merge develop
  • Loading branch information
itigoore01 authored Oct 2, 2019
2 parents a3cd35e + 53ce5df commit 0b30039
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm ci, lint, test and build
run: |
npm ci
npm run lint
npm test -- praparat --no-watch --no-progress --browsers=ChromeHeadlessCI
npm run build -- praparat
npm run build -- demo-app --prod
env:
CI: true
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
![Build Status](https://github.com/itigoore01/praparat/workflows/CI/badge.svg)
[![npm version](https://badge.fury.io/js/praparat.svg)](https://badge.fury.io/js/praparat)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


# Praparat

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.5.
Expand Down
6 changes: 6 additions & 0 deletions projects/praparat/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: false,
restartOnFileChange: true
});
Expand Down

0 comments on commit 0b30039

Please sign in to comment.