From a4ac0a8417c8b846d61fb537cd56e88fc4d082af Mon Sep 17 00:00:00 2001 From: Armin Jazi Date: Thu, 16 May 2024 11:36:41 +0200 Subject: [PATCH] fix artifact paths --- .github/workflows/npm-publish-github-packages.yml | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index b80b958..772a9c5 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/upload-artifact@v3 with: name: build-artifacts - path: lib + path: dist publish-gpr: @@ -38,7 +38,7 @@ jobs: - uses: actions/download-artifact@v3 with: name: build-artifacts - path: lib + path: dist - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/package.json b/package.json index 9cba4a1..bb2a7d8 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "@openreplyde/web-docker-vite-plugin", "version": "1.1.0", "type": "module", - "main": "lib/plugin.js", + "main": "dist/plugin.umd.cjs", "files": [ - "lib/**/*" + "dist/**/*" ], "module": "./dist/plugin.js", "exports": {