diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 8a1c760..581b37e 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -17,20 +17,10 @@ jobs: with: node-version: "24.15.0" - - name: Enable pnpm - run: corepack enable - - - name: Get pnpm store directory - id: pnpm-cache - run: echo "store-path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" - - - name: Cache dependencies - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6 with: - path: ${{ steps.pnpm-cache.outputs.store-path }} - key: ${{ runner.OS }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.OS }}-pnpm- + cache: true - run: pnpm install --frozen-lockfile - run: pnpm build diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed6e510..e21b076 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,20 +16,10 @@ jobs: with: node-version: "24.15.0" - - name: Enable pnpm - run: corepack enable - - - name: Get pnpm store directory - id: pnpm-cache - run: echo "store-path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" - - - name: Cache dependencies - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 + - name: Install pnpm + uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6 with: - path: ${{ steps.pnpm-cache.outputs.store-path }} - key: ${{ runner.OS }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.OS }}-pnpm- + cache: true - name: Install dependencies run: pnpm install --frozen-lockfile diff --git a/.gitignore b/.gitignore index f5599cc..6a2de3d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ ## Dependencies node_modules +.pnpm-store ## Compiled assets dist diff --git a/biome.json b/biome.json index c684db2..838ade6 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.4.13/schema.json", + "$schema": "https://biomejs.dev/schemas/2.4.15/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/package.json b/package.json index af21c96..1dba568 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "author": "Stan Lemon ", "license": "MIT", - "packageManager": "pnpm@10.33.4", + "packageManager": "pnpm@11.1.2", "repository": { "type": "git", "url": "git@github.com:stanlemon/lectionary-js.git"