From 8d728cb32659d77fec59caaef3650a8594117d45 Mon Sep 17 00:00:00 2001 From: Zen-cronic <83657429+Zen-cronic@users.noreply.github.com> Date: Wed, 6 Mar 2024 19:16:18 -0500 Subject: [PATCH] update: add upload artifact step cicd --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9a6e4b..80a8aab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,5 +17,12 @@ jobs: - name: Install dependencies run: npm ci + - name: Upload npm debug log + if: failure() + uses: actions/upload-artifact@v2 + with: + name: npm-error-log + path: /home/runner/.npm/_logs/*.log + - name: Run tests run: npm test