🎨 Change npm to pnpm
This commit is contained in:
18
.github/workflows/quality-and-test.yml
vendored
18
.github/workflows/quality-and-test.yml
vendored
@@ -26,10 +26,10 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Check EditorConfig compliance
|
||||
uses: editorconfig-checker/action-editorconfig-checker@main
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: "npm"
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Rust (Ubuntu)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
@@ -124,13 +124,13 @@ jobs:
|
||||
version: 1.1
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build CLI
|
||||
run: npm run cli:build
|
||||
run: pnpm run cli:build
|
||||
|
||||
- name: Run CLI Test Suite
|
||||
run: npm test
|
||||
run: pnpm test
|
||||
env:
|
||||
CI: true
|
||||
NODE_ENV: test
|
||||
@@ -161,7 +161,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: "npm"
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Rust (Ubuntu)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
@@ -198,10 +198,10 @@ jobs:
|
||||
version: 1.1
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build CLI
|
||||
run: npm run cli:build
|
||||
run: pnpm run cli:build
|
||||
|
||||
- name: Run Release Build Test
|
||||
run: ./tests/release.js
|
||||
|
||||
Reference in New Issue
Block a user