Skip to content

Commit

Permalink
Merge pull request #22 from Cherry/chore/typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry authored Oct 4, 2024
2 parents 85c7f82 + d3edb7a commit 8eb2098
Show file tree
Hide file tree
Showing 11 changed files with 15,788 additions and 15,667 deletions.
12 changes: 4 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"root": true,
"extends": [
"@nodecraft"
"@nodecraft/eslint-config/typescript"
],
"plugins": [
"json",
"node"
"json"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"node/no-missing-import": "off",
"node/no-unsupported-features/es-syntax": "off"
}
}
"rules": {}
}
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,20 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- run: npm ci

- run: npm run lint

- run: npm run check-types

- run: npm run build

- run: npm test
5 changes: 0 additions & 5 deletions __tests__/.eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare function run(): Promise<void>;
export default run;
Loading

0 comments on commit 8eb2098

Please sign in to comment.