Skip to content
Permalink
Browse files

ci tweaks

  • Loading branch information...
amcdnl committed Mar 12, 2019
1 parent 78fdd86 commit 617e8108089462165db72eba4b1b87a7ddfb29b9
Showing with 66 additions and 1 deletion.
  1. +8 −0 .circleci/config.yml
  2. +35 −0 package-lock.json
  3. +15 −0 package.json
  4. +8 −1 rollup.config.js
@@ -58,6 +58,8 @@ jobs:
- *restore_cache
- *npm_install
- run: npm run build
- store_artifacts:
path: ./dist
- *save_cache

build_storybook:
@@ -67,6 +69,8 @@ jobs:
- *restore_cache
- *npm_install
- run: npm run build-storybook
- store_artifacts:
path: ./storybook-static

test:
<<: *job_defaults
@@ -75,6 +79,10 @@ jobs:
- *restore_cache
- *npm_install
- run: npm test -- --runInBand --no-cache --coverage
- store_test_results:
path: ./coverage
- store_artifacts:
path: ./coverage

workflows:
version: 2

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -101,6 +101,7 @@
"autoprefixer": "^9.4.10",
"gh-pages": "^2.0.1",
"jest": "^24.1.0",
"jest-junit": "^6.3.0",
"moment": "^2.24.0",
"node-sass": "^4.11.0",
"postcss-focus-visible": "^4.0.0",
@@ -123,6 +124,12 @@
"collectCoverageFrom": [
"src/**/*.{ts,tsx}"
],
"coveragePathIgnorePatterns": [
"<rootDir>/.storybook/",
"<rootDir>/storybook-static/",
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"react-testing-library/cleanup-after-each.js"
],
@@ -135,6 +142,14 @@
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
],
"reporters": [
"default",
[
"jest-junit", {
"outputDirectory": "./coverage"
}
]
],
"moduleFileExtensions": [
"ts",
"tsx",
@@ -28,7 +28,14 @@ export default [
autoprefixer()
]
}),
typescript(),
typescript({
clean: true,
exclude: [
'*.d.ts',
'**/*.d.ts',
'**/*.story.tsx'
]
}),
resolve(),
sourceMaps()
]

0 comments on commit 617e810

Please sign in to comment.
You can’t perform that action at this time.