Skip to content

Commit f036029

Browse files
authored
chore: update to latest pnpm and add 48 hours dependency delay (#148)
1 parent 6bcced9 commit f036029

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

.github/workflows/actions/install/action.yml

Lines changed: 7 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,19 @@ description: "PNPM & Turbo Cache"
33
runs:
44
using: "composite"
55
steps:
6-
- uses: pnpm/action-setup@v4
7-
name: Install pnpm
8-
with:
9-
run_install: false
10-
11-
- name: Setup Node.js environment
12-
uses: actions/setup-node@v3
13-
with:
14-
node-version: lts/*
15-
cache: "pnpm"
16-
17-
- name: Get pnpm store directory
18-
run: |
19-
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
20-
shell: bash
21-
22-
- uses: actions/cache@v3
23-
name: Setup pnpm cache
24-
with:
25-
path: ${{ env.STORE_PATH }}
26-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
27-
restore-keys: |
28-
${{ runner.os }}-pnpm-store-
29-
306
- name: Cache turbo build setup
31-
uses: actions/cache@v3
7+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809
328
with:
339
path: .turbo
34-
key: ${{ runner.os }}-turbo-${{ github.sha }}
10+
key: ${{ runner.os }}-turbo-${{ hashFiles('**/pnpm-lock.yaml') }}
3511
restore-keys: |
3612
${{ runner.os }}-turbo-
3713
14+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda
15+
name: Install pnpm
16+
with:
17+
run_install: false
18+
3819
- name: Install dependencies
3920
run: pnpm install
4021
shell: bash

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"name": "ix-starter",
23
"private": true,
34
"scripts": {
45
"build": "turbo run build",
@@ -14,6 +15,12 @@
1415
"turbo": "latest",
1516
"ix-theme-downloader": "workspace:*"
1617
},
17-
"packageManager": "[email protected]",
18-
"name": "ix-starter"
18+
"packageManager": "[email protected]",
19+
"engines": {
20+
"pnpm": ">=10.x.x",
21+
"node": ">=22.19.x"
22+
},
23+
"volta": {
24+
"node": "22.19.0"
25+
}
1926
}

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ packages:
22
- "apps/*"
33
- "packages/*"
44
- "tools/*"
5+
6+
minimumReleaseAge: 2880
7+
minimumReleaseAgeExclude:
8+
- "@siemens/*"

0 commit comments

Comments
 (0)