From e2faafc2dde402d383b5a3556528199b5b0393b3 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Fri, 26 Jul 2024 16:46:31 -0400 Subject: [PATCH] Update publish.yml Signed-off-by: Philipp Burckhardt --- .github/workflows/publish.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ef8b426..76395bf 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -211,6 +211,14 @@ jobs: token: ${{ secrets.NPM_TOKEN }} access: public + # Upload npm logs: + - name: Upload npm logs + uses: actions/upload-artifact@v4 + if: failure() + with: + name: npm-logs + path: /home/runner/.npm/_logs/ + # Discard any uncommitted changes: - name: 'Discard any uncommitted changes' run: |