Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 2d84527

Browse files
committed
fix: fix github actions
1 parent 0752456 commit 2d84527

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
],
99
parser: '@typescript-eslint/parser',
1010
parserOptions: {
11-
project: './tsconfig.json',
11+
project: ['./tsconfig.json', './test/tsconfig.json'],
1212
tsconfigRootDir: './',
1313
},
1414
plugins: ['@typescript-eslint', 'prettier'],

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
npm run build
2828
- name: Run tests
2929
run: |
30-
npm run test:ci
30+
npm run test
3131
3232
yarn:
3333
runs-on: ${{ matrix.os }}
@@ -56,4 +56,4 @@ jobs:
5656
yarn build
5757
- name: Run tests
5858
run: |
59-
yarn test:ci
59+
yarn test

test/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { test } from 'tap'
2+
3+
test('default root route', async (t: any) => {
4+
t.deepEqual('placeholder', 'placeholder')
5+
})

typings/tap/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// improve tap typings and publish them on @types/tap
2+
3+
declare module 'tap' {
4+
function test(description: string, t: unknown): unknown
5+
}

0 commit comments

Comments
 (0)