Skip to content

Commit

Permalink
more complex pnpm install
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Jun 13, 2024
1 parent f7fc583 commit aceb873
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,31 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- 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: Test build
run: |
pnpm run build
- 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 install
- name: Test build
run: |
pnpm run build

0 comments on commit aceb873

Please sign in to comment.