From 176e9f4f85703a69ac64072d59c9ed15568be6b2 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Sun, 27 Oct 2024 14:06:23 -0600 Subject: [PATCH 1/2] use npx to run monopub --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e5352ff..3db7815 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,7 @@ jobs: publish_dir: docs publish_branch: gh-pages destination_dir: docs - - run: monopub delete devDependencies,scripts - - run: monopub exec 'npm publish --access public --provenance' + - run: npx monopub delete devDependencies,scripts + - run: npx monopub exec 'npm publish --access public --provenance' env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From 563884f5f18a822ce86242ebf2e8fe1f7147445a Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Sun, 27 Oct 2024 14:09:20 -0600 Subject: [PATCH 2/2] Publish to root, not docs --- .github/workflows/publish.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3db7815..03d39d9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,6 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs publish_branch: gh-pages - destination_dir: docs - run: npx monopub delete devDependencies,scripts - run: npx monopub exec 'npm publish --access public --provenance' env: