Skip to content

Commit

Permalink
Fix publish workflow to ensure tsc is run on dohdec before dohdec-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
hildjj committed Sep 6, 2024
1 parent 984a887 commit ab37156
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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/*

0 comments on commit ab37156

Please sign in to comment.