2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-24 14:04:06 +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
+20 -1
View File
@@ -18,8 +18,27 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
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') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Bootstrap dependencies
run: npm run build && npm run bootstrap
+21 -2
View File
@@ -23,8 +23,27 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false
- name: Get pnpm store directory
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') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish to npm
id: changesets
+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