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

Commit

Permalink
ci: setup for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
coenkoopmans committed Nov 12, 2019
1 parent 101adf0 commit c4caa4d
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ node_modules/
src/**/*.css

# production
build/
docs/

# misc
.DS_Store
Expand Down
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: node_js
node_js:
- "12.13.0"
script:
- echo "Skipping tests"
- npm run build
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUBTOKEN
keep_history: false
local_dir: docs
target_branch: gh-pages
email: [email protected]
verbose: true
on:
branch: master
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @kpn/kpn-style @benbesuijen @coenkoopmans @jordybulten @Abhilash-John
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# KPN Style
We created KPN Style to act as a central location for reusable (style) packages. Anyone working on a KPN product is encouraged to stay familiar with KPN Style and help ensure that it is kept up-to-date. We also supply a portal with documentation on the use of KPN Style.

[![Build Status](https://travis-ci.org/kpn/kpn-style.svg?branch=master)](https://travis-ci.org/kpn/kpn-style)

---

## Portal with documentation
Expand Down
2 changes: 1 addition & 1 deletion config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function getServedPath(appPackageJson) {
module.exports = {
dotenv: resolveApp('.env'),
appPath: resolveApp('.'),
appBuild: resolveApp('build'),
appBuild: resolveApp('docs'),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveApp('portal/index.js'),
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"type": "git",
"url": "https://github.com/kpn/kpn-style.git"
},
"homepage": "https://kpn.github.io/kpn-style",
"private": false,
"author": "KPN",
"license": "MIT",
Expand All @@ -27,8 +28,8 @@
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "9.0.0",
"bfj": "6.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.1",
"case-sensitive-paths-webpack-plugin": "2.2.0",
"chalk": "3.0.0",
"css-loader": "1.0.0",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0",
Expand All @@ -47,13 +48,13 @@
"jest": "23.6.0",
"jest-pnp-resolver": "1.0.1",
"jest-resolve": "23.6.0",
"mini-css-extract-plugin": "0.4.3",
"node-sass": "^4.9.3",
"optimize-css-assets-webpack-plugin": "5.0.1",
"mini-css-extract-plugin": "0.8.0",
"node-sass": "^4.13.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
"pnp-webpack-plugin": "1.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^6.0.4",
Expand Down
1 change: 0 additions & 1 deletion portal/Start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import bundlePackageJson from './../packages/package.json'
import Content from './components/Content';
import logoKpnStyle from './assets/image/logo-kpn-style.png';


const Start = () => (
<Content title="Start" wrapInContainer={false}>
<div className="jumbotron">
Expand Down

0 comments on commit c4caa4d

Please sign in to comment.