[ACS-12322] Migrate to pnpm

This commit is contained in:
Shivangi Shree
2026-08-03 23:26:08 +05:30
parent bc46fe8923
commit 0d18ee6c8e
18 changed files with 19733 additions and 31391 deletions
+13 -13
View File
@@ -34,7 +34,7 @@ jobs:
- uses: ./.github/actions/setup
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: upload npm logs
uses: actions/upload-artifact@v7
@@ -45,11 +45,11 @@ jobs:
- name: lint affected
if: ${{ github.event_name == 'pull_request' }}
run: npm run affected:lint -- --base=origin/develop
run: pnpm run affected:lint -- --base=origin/develop
- name: lint all
if: ${{ github.event_name != 'pull_request' }}
run: npm run ci:lint
- run: npm run stylelint
run: pnpm run ci:lint
- run: pnpm run stylelint
detect-e2e-only-changes:
name: 'Validate / Detect E2E Only Changes'
@@ -89,15 +89,15 @@ jobs:
fetch-depth: 2
- uses: ./.github/actions/before-install
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: upload npm logs
uses: actions/upload-artifact@v7
if: failure()
with:
name: npm-logs
path: /home/runner/.npm/_logs/
- run: npm run ci:build -- aca-playwright-shared
- run: npm run build -- $BUILD_OPTS
- run: pnpm run ci:build -- aca-playwright-shared
- run: pnpm run build -- $BUILD_OPTS
- name: dist cache
if: ${{ success() }}
@@ -117,7 +117,7 @@ jobs:
with:
fetch-depth: 0
- uses: ./.github/actions/before-install
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: upload npm logs
uses: actions/upload-artifact@v7
if: failure()
@@ -127,11 +127,11 @@ jobs:
- name: Test
if: ${{ github.event_name == 'pull_request' }}
run: npm run affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
run: pnpm run affected:test -- --browsers=ChromeHeadless --watch=false $TEST_OPTS --base=origin/develop
- name: Test all
if: ${{ github.event_name != 'pull_request' }}
run: npm run ci:test -- $TEST_OPTS
run: pnpm run ci:test -- $TEST_OPTS
e2es-playwright:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip-e2e') }}
@@ -219,7 +219,7 @@ jobs:
uses: ./.github/actions/before-install
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Restore dist cache
uses: actions/cache/restore@v6
@@ -233,12 +233,12 @@ jobs:
- name: Check Search Indexing
continue-on-error: true
run: npm run ci:check-search-indexing
run: pnpm run ci:check-search-indexing
env:
ADMIN_PASSWORD_SCRIPT: ${{ env.ADMIN_PASSWORD }}
- name: Before playwright
run: npm run ci:playwright:install
run: pnpm run ci:playwright:install
- name: Run e2e playwright
uses: ./.github/actions/run-e2e-playwright