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

Fix publish workflow to ensure tsc is run on dohdec before dohdec-cli #57

Merged
merged 1 commit into from
Sep 6, 2024
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
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- run: npm run all:link
- run: pnpm i -r
- run: npm run lint
- run: npm run all:types
- run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
"preall:check": "npm run lint && npm run test && npm run all:types && npm run all:docs",
"all:check": "pnpm run -r --stream check",
"all:docs": "pnpm run -r docs",
"all:types": "pnpm run -r types",
"all:types": "pnpm run -C pkg/dohdec types && pnpm run -C pkg/dohdec-cli types",
"all:install": "pnpm i -r",
"all:link": "pnpm run -r link",
"clean": "rm -rf node_modules coverage pkg/*/node_modules pkg/*/coverage",
"clean": "rm -rf node_modules coverage pkg/*/node_modules pkg/*/coverage pkg/*/types",
"version": "ver=`npm pkg get version | sed -E 's/\"*([^\"]+)\"*/\\1/'` && npm pkg set -ws version=$ver && npm pkg set dependencies.dohdec=$ver --workspace dohdec-cli && git add pkg/*/package.json"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
packages:
# all packages in direct subdirs of packages/
- 'pkg/*'
- pkg/*