Skip to content

Commit dcb513f

Browse files
authored
Upload npm publish log as artifact for debugging (#61680)
Continuing to debug our failed npm publish with adding the debug logs as an artifact x-ref: https://github.com/vercel/next.js/actions/runs/7778346463/job/21207995884#step:11:828 Closes NEXT-2365
1 parent 89e6837 commit dcb513f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build_and_deploy.yml

+7
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,13 @@ jobs:
443443
env:
444444
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
445445

446+
- name: Upload npm log artifact
447+
uses: actions/upload-artifact@v4
448+
if: always()
449+
with:
450+
name: npm-publish-logs
451+
path: /home/runner/.npm/_logs/*
452+
446453
deployExamples:
447454
name: Deploy examples
448455
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)