Skip to content

Commit 4e03337

Browse files
Merge pull request #1610 from glimmerjs/update-release-automation-worfklows
Have the release-automation workflows use the same setup as CI
2 parents ae5b971 + bc9090a commit 4e03337

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

.github/workflows/plan-release.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,10 @@ jobs:
5252
with:
5353
fetch-depth: 0
5454
ref: 'main'
55-
- uses: actions/setup-node@v4
55+
- uses: wyvox/action-setup-pnpm@v3
5656
with:
57-
node-version: 18
58-
- uses: pnpm/action-setup@v4
59-
with:
60-
version: 8.5
61-
- run: pnpm install --frozen-lockfile
57+
node-version: 20.1.0
58+
6259
- name: "Generate Explanation and Prep Changelogs"
6360
id: explanation
6461
run: |

.github/workflows/publish.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,19 @@ jobs:
4444

4545
steps:
4646
- uses: actions/checkout@v4
47-
- uses: actions/setup-node@v4
47+
48+
- name: 'Setup local TurboRepo server'
49+
uses: felixmosh/turborepo-gh-artifacts@v2
4850
with:
49-
node-version: 18
50-
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
51-
registry-url: 'https://registry.npmjs.org'
52-
- uses: pnpm/action-setup@v4
51+
repo-token: ${{ secrets.GITHUB_TOKEN }}
52+
53+
- uses: wyvox/action-setup-pnpm@v3
5354
with:
54-
version: 8.5.0
55-
- run: pnpm install --frozen-lockfile
55+
node-version: 20.1.0
56+
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
57+
node-registry-url: 'https://registry.npmjs.org'
58+
59+
5660
- name: npm publish
5761
run: pnpm release-plan publish
5862
env:

0 commit comments

Comments
 (0)