diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05cf1d7a..10c07ef3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,6 +48,10 @@ jobs: - name: Test run: pnpm run --if-present test:node if: ${{ steps.release-please.outputs.releases_created }} + + - name: Build + run: pnpm run --if-present build + if: ${{ steps.release-please.outputs.releases_created }} - name: Publish if: ${{ steps.release-please.outputs.releases_created }} diff --git a/packages/authority/package.json b/packages/authority/package.json index 1d46d37f..49215421 100644 --- a/packages/authority/package.json +++ b/packages/authority/package.json @@ -23,7 +23,8 @@ "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ucanto/interface": "^0.6.0", diff --git a/packages/client/package.json b/packages/client/package.json index cd482644..cae416c0 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -25,7 +25,8 @@ "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "multiformats": "^9.6.4", diff --git a/packages/core/package.json b/packages/core/package.json index 537ffea3..ad605aed 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -25,7 +25,8 @@ "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ipld/car": "^4.1.0", diff --git a/packages/interface/package.json b/packages/interface/package.json index 4a3ab3ff..cfbf4590 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -19,7 +19,8 @@ }, "homepage": "https://github.com/web3-storage/ucanto", "scripts": { - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ipld/dag-ucan": "^1.7.0-beta", diff --git a/packages/server/package.json b/packages/server/package.json index 2d613c91..0bfb583d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -24,7 +24,8 @@ "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/test-*.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ucanto/interface": "^0.6.0", diff --git a/packages/transport/package.json b/packages/transport/package.json index 3808d6e1..6d352058 100644 --- a/packages/transport/package.json +++ b/packages/transport/package.json @@ -25,7 +25,8 @@ "test:node": "c8 --check-coverage --branches 100 --functions 100 --lines 100 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ipld/car": "^4.1.0", diff --git a/packages/validator/package.json b/packages/validator/package.json index 3e496c6e..064fc83f 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -23,7 +23,8 @@ "test:node": "c8 --check-coverage --branches 97 --functions 85 --lines 93 mocha test/**/*.spec.js", "test": "npm run test:node", "coverage": "c8 --reporter=html mocha test/**/*.spec.js && npm_config_yes=true npx st -d coverage -p 8080", - "typecheck": "tsc --build" + "typecheck": "tsc --build", + "build": "tsc --build" }, "dependencies": { "@ipld/car": "^4.1.0",