chore(nx/ci): set up pnpm install

This commit is contained in:
Elian Doran 2025-04-27 09:41:43 +03:00
parent 76a6decf65
commit 9f5d23349d
No known key found for this signature in database
4 changed files with 8 additions and 9 deletions

View File

@ -16,7 +16,7 @@ runs:
cache: "npm" cache: "npm"
- name: Install dependencies - name: Install dependencies
shell: bash shell: bash
run: npm ci run: pnpm install --frozen-lockfile
- name: Run Linux server build - name: Run Linux server build
env: env:
MATRIX_ARCH: ${{ inputs.arch }} MATRIX_ARCH: ${{ inputs.arch }}

View File

@ -66,7 +66,7 @@ jobs:
node-version: 22 node-version: 22
cache: "npm" cache: "npm"
- run: npm ci - run: pnpm install --frozen-lockfile
- name: Run the build - name: Run the build
uses: ./.github/actions/build-server uses: ./.github/actions/build-server
@ -97,8 +97,7 @@ jobs:
with: with:
node-version: 22 node-version: 22
cache: "npm" cache: "npm"
- run: pnpm install --frozen-lockfile
- run: npm ci
- name: Run the unit tests - name: Run the unit tests
run: npm run test run: npm run test
@ -111,7 +110,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: npm ci run: pnpm install --frozen-lockfile
- name: Update build info - name: Update build info
run: npm run chore:update-build-info run: npm run chore:update-build-info
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
@ -135,7 +134,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: npm ci run: pnpm install --frozen-lockfile
- name: Update build info - name: Update build info
run: npm run chore:update-build-info run: npm run chore:update-build-info

View File

@ -50,7 +50,7 @@ jobs:
cache: "npm" cache: "npm"
- name: Install npm dependencies - name: Install npm dependencies
run: npm ci run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: npx playwright install --with-deps run: npx playwright install --with-deps
@ -134,7 +134,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: npm ci run: pnpm install --frozen-lockfile
- name: Update build info - name: Update build info
run: npm run chore:update-build-info run: npm run chore:update-build-info

View File

@ -15,7 +15,7 @@ jobs:
with: with:
node-version: lts/* node-version: lts/*
- name: Install dependencies - name: Install dependencies
run: npm ci run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers - name: Install Playwright Browsers
run: npx playwright install --with-deps run: npx playwright install --with-deps
- name: Run Playwright tests - name: Run Playwright tests