Skip to content

Commit

Permalink
Merge pull request #9 from fullstorydev/vasilios/circleci
Browse files Browse the repository at this point in the history
ci: create CircleCI config and set it up for jest tests
  • Loading branch information
bateman001 authored Dec 5, 2024
2 parents aff32a1 + 1ba1560 commit b412b65
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: 2.1

orbs:
node: circleci/[email protected]

workflows:
commit:
jobs:
- node/test:
version: '20.18.1'
test-results-for: jest
3 changes: 2 additions & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = {
testEnvironment: "jsdom",
moduleNameMapper: {
".(css|less|scss)$": "identity-obj-proxy"
}
},
reporters: ["default", "jest-junit"],
};
43 changes: 43 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"rollup": "^4.21.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
Expand Down

0 comments on commit b412b65

Please sign in to comment.