1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-26 01:23:24 +00:00

pnpm workflows

This commit is contained in:
Anders Åberg
2025-12-15 22:32:37 +01:00
parent 52e1dfafb1
commit b75c6dc3bd
5 changed files with 33363 additions and 37 deletions

View File

@@ -63,24 +63,28 @@ jobs:
NODE_VERSION=${NODE_NVMRC/v/''}
echo "node_version=$NODE_VERSION" >> "$GITHUB_OUTPUT"
- name: Set up pnpm
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
version: 10
- name: Set up Node
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
with:
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
cache: 'pnpm'
node-version: ${{ steps.retrieve-node-version.outputs.node_version }}
- name: Install Node dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Lint unowned dependencies
run: npm run lint:dep-ownership
run: pnpm run lint:dep-ownership
- name: Lint sdk-internal versions
run: npm run lint:sdk-internal-versions
run: pnpm run lint:sdk-internal-versions
- name: Run linter
run: npm run lint
run: pnpm run lint
rust:
name: Run Rust lint on ${{ matrix.os }}