Skip to content

Commit a612169

Browse files
committed
align setup with other actions
1 parent 9046e71 commit a612169

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/preview-publish.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,34 @@ on:
77
jobs:
88
publish-preview:
99
runs-on: ubuntu-latest
10+
1011
permissions:
1112
contents: write
1213
issues: write
1314
pull-requests: write
15+
1416
steps:
1517
- uses: actions/checkout@v4
1618

17-
- name: Set up Node.js
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Install pnpm
25+
uses: pnpm/action-setup@v3
26+
with:
27+
version: 10
28+
run_install: false
29+
30+
- name: Setup Node.js
1831
uses: actions/setup-node@v4
1932
with:
20-
node-version: 20
21-
registry-url: 'https://registry.npmjs.org/'
33+
node-version: '22'
34+
cache: 'pnpm'
2235

2336
- name: Install dependencies
24-
run: pnpm i
37+
run: pnpm install
2538

2639
- name: Generate preview version
2740
run: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy