Skip to content

Commit

Permalink
ci: link packages together
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 1, 2025
1 parent 16abf0a commit d7a9858
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/setup-node@v4
- id: matrix
run: echo "matrix=$(node .github/workflows/get-matrix.mjs)" >> $GITHUB_OUTPUT
- run: echo ${{ steps.matrix.outputs.matrix }}
outputs:
matrix: ${{ steps.matrix.outputs.matrix }}
test:
Expand All @@ -39,9 +38,14 @@ jobs:
uses: pnpm/action-setup@v4
with:
version: latest
run_install: true
- name: Install Dependencies
run: pnpm install
env:
PROXY_USERNAME: ${{ secrets.PROXY_USERNAME }}
PROXY_PASSWORD: ${{ secrets.PROXY_PASSWORD }}
PROXY_HOST: ${{ secrets.PROXY_HOST }}
- name: Test
run: pnpm run test --scope "${{ matrix.package }}"
run: pnpm --filter "${{ matrix.package }}" run test
env:
PROXY_USERNAME: ${{ secrets.PROXY_USERNAME }}
PROXY_PASSWORD: ${{ secrets.PROXY_PASSWORD }}
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@
"@ksmithut/prettier-standard": "latest",
"@lerna-lite/cli": "latest",
"@lerna-lite/publish": "latest",
"@lerna-lite/run": "latest",
"browser-sync": "latest",
"c8": "latest",
"concurrently": "latest",
Expand Down Expand Up @@ -189,7 +188,7 @@
"lint": "standard-markdown README.md && standard",
"pretest": "npm run lint",
"release": "lerna publish --yes --sort --conventional-commits -m \"chore(release): %s\" --create-release github",
"test": "c8 lerna run test",
"test": "c8 pnpm -r run test",
"update": "pnpm --recursive --parallel exec ncu -u",
"update:check": "pnpm --recursive --parallel exec ncu -errorLevel 2"
},
Expand Down

0 comments on commit d7a9858

Please sign in to comment.