2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00

chore: pnpm support (#199)

* feat: initial pnpm support

* feat: lock files

* fix: github actions

* fix: lerna bootstrap

* fix: lerna useWorkspaces

* fix: lerna no ci

* fix: lint

* fix: audit

* chore: changeset

* fix: publish action
This commit is contained in:
Nikolay Kost
2023-10-23 14:21:56 +03:00
committed by GitHub
parent d6942dc9d3
commit 3575982b28
52 changed files with 20359 additions and 4916 deletions
+22 -3
View File
@@ -22,11 +22,30 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Codecov
run: npm install -g codecov
- name: Install PNPM ${{ matrix.node-version }}
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory ${{ matrix.node-version }}
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ matrix.node-version }}
restore-keys: |
${{ runner.os }}-pnpm-store-${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Install Codecov
run: pnpm install --global codecov
- name: Bootstrap packages
run: npm run bootstrap