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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user