Skip to content

Commit da2196e

Browse files
authored
Merge pull request #6 from structure-codes/move-to-tree-utils
Move to tree utils
2 parents 121fe06 + 6643fe5 commit da2196e

34 files changed

+2972
-2107
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@ jobs:
88

99
steps:
1010
- uses: actions/checkout@v1
11-
- name: package
11+
- name: set default config
1212
run: |
13-
npm ci
14-
npm test
15-
npm run build
13+
echo '{
14+
"ignored": [
15+
".git",
16+
"node_modules"
17+
]
18+
}' > $HOME/.treerc
19+
- name: npm ci
20+
run: npm ci
21+
- name: npm test
22+
run: npm test
23+
- name: npm run build
24+
run: npm run build

jest.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2+
module.exports = {
3+
roots: ["<rootDir>/src"],
4+
testPathIgnorePatterns: ["<rootDir>/src/__tests__/testStructure"],
5+
testRegex: ".*\\.test\\.ts$",
6+
testTimeout: 3000,
7+
transform: {
8+
"^.+\\.ts?$": "ts-jest",
9+
},
10+
};

0 commit comments

Comments
 (0)