Skip to content

Commit c6804cb

Browse files
committed
Use the same tooling across workflows
1 parent b5656e4 commit c6804cb

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/plan-release.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,7 @@ jobs:
4949
# lerna-changelog can discover what's changed since the last release
5050
with:
5151
fetch-depth: 0
52-
- uses: actions/setup-node@v4
53-
with:
54-
node-version: 18
55-
56-
- uses: pnpm/action-setup@v2
57-
with:
58-
version: 8
59-
- run: pnpm install --frozen-lockfile
52+
- uses: wyvox/action-setup-pnpm@v3
6053

6154
- name: "Generate Explanation and Prep Changelogs"
6255
id: explanation

.github/workflows/publish.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,11 @@ jobs:
4444

4545
steps:
4646
- uses: actions/checkout@v4
47-
- uses: actions/setup-node@v4
47+
- uses: wyvox/action-setup-pnpm@v3
4848
with:
49-
node-version: 18
5049
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
51-
registry-url: 'https://registry.npmjs.org'
50+
node-registry-url: 'https://registry.npmjs.org'
5251

53-
- uses: pnpm/action-setup@v2
54-
with:
55-
version: 8
56-
- run: pnpm install --frozen-lockfile
5752
- name: npm publish
5853
run: pnpm release-plan publish
5954

0 commit comments

Comments
 (0)