Skip to content

Commit

Permalink
Fix release-plan workflows due to embroider-build/create-release-plan…
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 25, 2024
1 parent 3360cf5 commit 8cb7ed2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,15 @@ jobs:
with:
fetch-depth: 0
ref: 'master'
- uses: actions/setup-node@v4
with:
node-version: 18

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

- uses: wyvox/action-setup-pnpm@v3

- name: "Generate Explanation and Prep Changelogs"
id: explanation
run: |
set +e
pnpm release-plan prepare 2> >(tee -a release-plan-stderr.txt >&2)
if [ $? -ne 0 ]; then
echo 'text<<EOF' >> $GITHUB_OUTPUT
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,14 @@ 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'

- uses: pnpm/action-setup@v3
with:
version: 8
- run: pnpm install --frozen-lockfile
node-registry-url: 'https://registry.npmjs.org'

- name: npm publish
run: pnpm release-plan publish

env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8cb7ed2

Please sign in to comment.