diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 376430a97..38642fc98 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -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: @@ -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 }} diff --git a/package.json b/package.json index 0f9dfaad2..c0210eda0 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" },