Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run build script before publish #71

Merged
merged 8 commits into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
3 changes: 2 additions & 1 deletion packages/authority/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down