Skip to content

Commit 8eb2098

Browse files
authored
Merge pull request #22 from Cherry/chore/typescript
2 parents 85c7f82 + d3edb7a commit 8eb2098

File tree

11 files changed

+15788
-15667
lines changed

11 files changed

+15788
-15667
lines changed

.eslintrc.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
{
22
"root": true,
33
"extends": [
4-
"@nodecraft"
4+
"@nodecraft/eslint-config/typescript"
55
],
66
"plugins": [
7-
"json",
8-
"node"
7+
"json"
98
],
109
"parserOptions": {
1110
"sourceType": "module"
1211
},
13-
"rules": {
14-
"node/no-missing-import": "off",
15-
"node/no-unsupported-features/es-syntax": "off"
16-
}
17-
}
12+
"rules": {}
13+
}

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,20 @@ jobs:
1616

1717
steps:
1818
- name: Checkout Repo
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Install Node
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node }}
25+
cache: 'npm'
2526

2627
- run: npm ci
2728

2829
- run: npm run lint
2930

31+
- run: npm run check-types
32+
33+
- run: npm run build
34+
3035
- run: npm test

__tests__/.eslintrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

dist/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
declare function run(): Promise<void>;
2+
export default run;

0 commit comments

Comments
 (0)