From e347c2d836dcf3dbb2c06256401ee57226d064d0 Mon Sep 17 00:00:00 2001 From: Dalton Sutton Date: Fri, 6 Dec 2024 02:18:03 -0600 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 235e51e..e7618e6 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: package - path: dist/ + path: | + dist/ + package.json # Ensure this is at the root in your repository publish-github: needs: build @@ -27,7 +29,7 @@ jobs: - uses: actions/download-artifact@v3 with: name: package - path: dist + path: . # Downloads to the current working directory - uses: actions/setup-node@v4 with: node-version: '20' @@ -43,7 +45,7 @@ jobs: - uses: actions/download-artifact@v3 with: name: package - path: dist + path: . # Downloads to the current working directory - uses: actions/setup-node@v4 with: node-version: '20'