Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit 3c0fcc7

Browse files
committed
update ci script and fix tsconfig
1 parent 901ba95 commit 3c0fcc7

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
1-
name: Tests
1+
name: Test
22

33
on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
timeout-minutes: 60
9+
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, windows-latest]
813

914
steps:
10-
- uses: actions/checkout@v3
15+
# Windows fix. See https://github.com/actions/checkout/issues/226
16+
- run: git config --global core.autocrlf false
17+
18+
- uses: actions/checkout@v6
1119

12-
- uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v6
1321
with:
14-
node-version: 16
22+
node-version: 22
1523

16-
- run: yarn
17-
- run: npm run lint
18-
- run: npm test
24+
- run: yarn install --immutable
25+
- run: yarn check
26+
- run: yarn build

tsconfig.build.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"declaration": true,
77
"declarationMap": true,
88
"emitDeclarationOnly": false,
9-
"sourceMap": false
9+
"sourceMap": false,
10+
"rootDir": "src"
1011
},
11-
"include": ["src/**/*", "example.ts"]
12+
"include": ["src/**/*"]
1213
}

0 commit comments

Comments
 (0)