Skip to content

Commit

Permalink
Use the same tooling across workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 8, 2024
1 parent b5656e4 commit c6804cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ jobs:
# lerna-changelog can discover what's changed since the last release
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18

- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install --frozen-lockfile
- uses: wyvox/action-setup-pnpm@v3

- name: "Generate Explanation and Prep Changelogs"
id: explanation
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: 18
# This creates an .npmrc that reads the NODE_AUTH_TOKEN environment variable
registry-url: 'https://registry.npmjs.org'
node-registry-url: 'https://registry.npmjs.org'

- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install --frozen-lockfile
- name: npm publish
run: pnpm release-plan publish

Expand Down

0 comments on commit c6804cb

Please sign in to comment.