Skip to content

Commit 2e72fd9

Browse files
ci: Install Node.js and setup pnpm in publish workflows (#3983)
1 parent 0063ef3 commit 2e72fd9

File tree

5 files changed

+63
-0
lines changed

5 files changed

+63
-0
lines changed

.github/workflows/publish_core_react.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ jobs:
8787
./*
8888
~/.pnpm-store
8989
key: ${{ github.sha }}-dist-${{ github.event.inputs.environment }}-core-react
90+
- name: Install Node.js
91+
uses: actions/setup-node@v4
92+
with:
93+
node-version: '22.12.0'
94+
- name: Setup pnpm
95+
id: setup-pnpm
96+
uses: pnpm/action-setup@v4
97+
with:
98+
run_install: false
9099
- name: Publish to npm
91100
id: publish-to-npm
92101
run: |
@@ -111,6 +120,15 @@ jobs:
111120
./*
112121
~/.pnpm-store
113122
key: ${{ github.sha }}-dist-${{ github.event.inputs.environment }}-core-react
123+
- name: Install Node.js
124+
uses: actions/setup-node@v4
125+
with:
126+
node-version: '22.12.0'
127+
- name: Setup pnpm
128+
id: setup-pnpm
129+
uses: pnpm/action-setup@v4
130+
with:
131+
run_install: false
114132
- name: Publish to npm
115133
id: publish-to-npm
116134
run: |

.github/workflows/publish_data_grid.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ jobs:
8585
./*
8686
~/.pnpm-store
8787
key: ${{ github.sha }}-dist-${{ github.event.inputs.environment }}-data-grid
88+
- name: Install Node.js
89+
uses: actions/setup-node@v4
90+
with:
91+
node-version: '22.12.0'
92+
- name: Setup pnpm
93+
id: setup-pnpm
94+
uses: pnpm/action-setup@v4
95+
with:
96+
run_install: false
8897
- name: Publish to npm
8998
id: publish-to-npm
9099
run: |

.github/workflows/publish_icons.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ jobs:
7474
./*
7575
~/.pnpm-store
7676
key: ${{ github.sha }}-dist-production-icons
77+
- name: Install Node.js
78+
uses: actions/setup-node@v4
79+
with:
80+
node-version: '22.12.0'
81+
- name: Setup pnpm
82+
id: setup-pnpm
83+
uses: pnpm/action-setup@v4
84+
with:
85+
run_install: false
7786
- name: Publish to npm
7887
id: publish-to-npm
7988
run: |

.github/workflows/publish_lab.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ jobs:
8585
./*
8686
~/.pnpm-store
8787
key: ${{ github.sha }}-dist-${{ github.event.inputs.environment }}-lab
88+
- name: Install Node.js
89+
uses: actions/setup-node@v4
90+
with:
91+
node-version: '22.12.0'
92+
- name: Setup pnpm
93+
id: setup-pnpm
94+
uses: pnpm/action-setup@v4
95+
with:
96+
run_install: false
8897
- name: Publish to npm
8998
id: publish-to-npm
9099
run: |
@@ -109,6 +118,15 @@ jobs:
109118
./*
110119
~/.pnpm-store
111120
key: ${{ github.sha }}-dist-${{ github.event.inputs.environment }}-lab
121+
- name: Install Node.js
122+
uses: actions/setup-node@v4
123+
with:
124+
node-version: '22.12.0'
125+
- name: Setup pnpm
126+
id: setup-pnpm
127+
uses: pnpm/action-setup@v4
128+
with:
129+
run_install: false
112130
- name: Publish to npm
113131
id: publish-to-npm
114132
run: |

.github/workflows/publish_tokens.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ jobs:
7474
./*
7575
~/.pnpm-store
7676
key: ${{ github.sha }}-dist-production-tokens
77+
- name: Install Node.js
78+
uses: actions/setup-node@v4
79+
with:
80+
node-version: '22.12.0'
81+
- name: Setup pnpm
82+
id: setup-pnpm
83+
uses: pnpm/action-setup@v4
84+
with:
85+
run_install: false
7786
- name: Publish to npm
7887
id: publish-to-npm
7988
run: |

0 commit comments

Comments
 (0)