Skip to content

test lock file only

test lock file only #4

Workflow file for this run

name: Build and test
on:
push:
jobs:
build-test:
runs-on: "ubuntu-latest"
steps:
- uses: pnpm/action-setup@v4
with:
version: 8
# run_install: |
# - args: [dlx, mrs-developer, missdev, --no-config, --fetch-https]
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
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: |
# apt-get -y update && apt-get -y install git make
# pnpm dlx mrs-developer missdev --no-config --fetch-https \&& pnpm install --frozen-lockfile
# - name: Install dependencies
# run: |
# pnpm dlx mrs-developer missdev --no-config --fetch-https
# # pnpm install --frozen-lockfile
- name: Check pnpm lockfile consistency
run: |
pnpm install --lockfile-only
# - name: Test build
# run: |
# pnpm run build