Skip to content

Commit 04b7958

Browse files
authored
fix: build types before publishing (#71)
1 parent bc11099 commit 04b7958

File tree

8 files changed

+18
-7
lines changed

8 files changed

+18
-7
lines changed

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
- name: Test
4949
run: pnpm run --if-present test:node
5050
if: ${{ steps.release-please.outputs.releases_created }}
51+
52+
- name: Build
53+
run: pnpm run --if-present build
54+
if: ${{ steps.release-please.outputs.releases_created }}
5155

5256
- name: Publish
5357
if: ${{ steps.release-please.outputs.releases_created }}

packages/authority/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js",
2424
"test": "npm run test:node",
2525
"coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080",
26-
"typecheck": "tsc --build"
26+
"typecheck": "tsc --build",
27+
"build": "tsc --build"
2728
},
2829
"dependencies": {
2930
"@ucanto/interface": "^0.6.0",

packages/client/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js",
2626
"test": "npm run test:node",
2727
"coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080",
28-
"typecheck": "tsc --build"
28+
"typecheck": "tsc --build",
29+
"build": "tsc --build"
2930
},
3031
"dependencies": {
3132
"multiformats": "^9.6.4",

packages/core/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/*.spec.js",
2626
"test": "npm run test:node",
2727
"coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080",
28-
"typecheck": "tsc --build"
28+
"typecheck": "tsc --build",
29+
"build": "tsc --build"
2930
},
3031
"dependencies": {
3132
"@ipld/car": "^4.1.0",

packages/interface/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
},
2020
"homepage": "https://github.com/web3-storage/ucanto",
2121
"scripts": {
22-
"typecheck": "tsc --build"
22+
"typecheck": "tsc --build",
23+
"build": "tsc --build"
2324
},
2425
"dependencies": {
2526
"@ipld/dag-ucan": "^1.7.0-beta",

packages/server/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js",
2525
"test": "npm run test:node",
2626
"coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080",
27-
"typecheck": "tsc --build"
27+
"typecheck": "tsc --build",
28+
"build": "tsc --build"
2829
},
2930
"dependencies": {
3031
"@ucanto/interface": "^0.6.0",

packages/transport/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js",
2626
"test": "npm run test:node",
2727
"coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080",
28-
"typecheck": "tsc --build"
28+
"typecheck": "tsc --build",
29+
"build": "tsc --build"
2930
},
3031
"dependencies": {
3132
"@ipld/car": "^4.1.0",

packages/validator/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"test:node": "c8 --check-coverage --branches 97 --functions 85 --lines 93 mocha test/**/*.spec.js",
2424
"test": "npm run test:node",
2525
"coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080",
26-
"typecheck": "tsc --build"
26+
"typecheck": "tsc --build",
27+
"build": "tsc --build"
2728
},
2829
"dependencies": {
2930
"@ipld/car": "^4.1.0",

0 commit comments

Comments
 (0)