Skip to content

Commit

Permalink
Link packages with self before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobento committed Jul 28, 2022
1 parent bd470c6 commit 4d48590
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ runs:
run: |
echo "STEP: Bootstrap (sparse)"
cd ${{ inputs.path }}
pnpm install-dependencies -F "...[${{ inputs.base_sha }}]..." -F . && pnpm link-packages-with-self && pnpm generate-packages-graph && pnpm check-cli-tools
pnpm link-packages-with-self && pnpm install-dependencies -F "...[${{ inputs.base_sha }}]..." -F . && pnpm generate-packages-graph && pnpm check-cli-tools
- name: "Check dependencies mismatches"
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"link-packages-with-self": "node ./scripts/link_packages_with_self.js",
"generate-packages-graph": "node ./scripts/generate_packages_graph.js ./repo",
"check-cli-tools": "node ./scripts/check_cli_tools.js",
"bootstrap": "pnpm install-dependencies && pnpm link-packages-with-self && pnpm generate-packages-graph && pnpm check-cli-tools",
"bootstrap": "pnpm link-packages-with-self && pnpm install-dependencies && pnpm generate-packages-graph && pnpm check-cli-tools",
"update-version-to": "node ./scripts/update_version.js",
"format": "prettier --write .",
"format:check": "prettier --check .",
Expand Down
3 changes: 2 additions & 1 deletion packages/build-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
"url": "https://github.com/kiegroup/kie-tools.git"
},
"scripts": {
"install": "pnpm build:dev",
"install": "pnpm build:install",
"lint": "pnpm pnpm eslint ./src --ext .ts,.tsx",
"test": "pnpm jest --silent --verbose --passWithNoTests",
"print": "node dist/bin.js --print-vars && node dist/bin.js --print-env",
"build-env": "node dist/bin.js",
"build:install": "rimraf dist && tsc -p tsconfig.dev.json",
"build:dev": "rimraf dist && tsc -p tsconfig.dev.json && pnpm print",
"build:prod": "pnpm lint && rimraf dist && tsc -p tsconfig.prod.json && pnpm test && pnpm print"
},
Expand Down

0 comments on commit 4d48590

Please sign in to comment.