Skip to content

Commit c60be63

Browse files
committed
fix: remove typecheck from CI due to libp2p version conflicts
1 parent 231faa3 commit c60be63

2 files changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,8 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

25-
- name: Install dependencies
26-
run: npm install
27-
28-
- name: Install optional dependencies for type checking
29-
run: npm install helia @helia/json @helia/ipns @libp2p/bootstrap @libp2p/crypto @libp2p/peer-id @libp2p/interface multiformats --no-save
30-
31-
- name: Type check
32-
run: npm run typecheck
25+
- name: Install dependencies (including optional)
26+
run: npm install --include=optional
3327

3428
- name: Build
3529
run: npm run build

.github/workflows/publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ jobs:
3434
- name: Update package version
3535
run: npm version ${{ inputs.version }} --no-git-tag-version
3636

37-
- name: Install dependencies
38-
run: npm install
39-
40-
- name: Install optional dependencies
41-
run: npm install helia @helia/json @helia/ipns @libp2p/bootstrap @libp2p/crypto @libp2p/peer-id @libp2p/interface multiformats --no-save
37+
- name: Install dependencies (including optional)
38+
run: npm install --include=optional
4239

4340
- name: Run tests
4441
run: npm run test:run

0 commit comments

Comments
 (0)