adopt pnpm setup action

This commit is contained in:
Samuel Newman
2026-08-11 16:36:59 +03:00
parent 87548a6578
commit 0d413614b4
6 changed files with 35 additions and 50 deletions
+12 -18
View File
@@ -35,13 +35,11 @@ jobs:
- name: ⬇️ Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: 🔧 Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- name: 📦 Setup pnpm and Node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: package.json
cache: pnpm
cache: true
install: false
- name: ⬇️ Get base stats from cache
id: get-base-stats
@@ -76,13 +74,11 @@ jobs:
with:
fetch-depth: 0
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: 🔧 Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- name: 📦 Setup pnpm and Node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: package.json
cache: pnpm
cache: true
install: false
- name: 🌿 Ensure tracking relevant branches and checkout base
env:
@@ -175,13 +171,11 @@ jobs:
run: git fetch origin main:main --depth 100
if: github.event_name == 'pull_request'
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- name: 🔧 Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- name: 📦 Setup pnpm and Node
uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
node-version-file: package.json
cache: pnpm
cache: true
install: false
- name: 📷 Check fingerprint and install dependencies
id: fingerprint