From f86f63e99384eccf50b37328430d7cb0b331781b Mon Sep 17 00:00:00 2001 From: kanandev2024 Date: Tue, 7 Dec 2021 14:47:15 +0900 Subject: [PATCH] Publish local folder, not non-existing remote GitHub repo This is a workaround for https://github.com/npm/cli/issues/3993 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ccc0656..2441b0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -85,7 +85,7 @@ jobs: - uses: actions/setup-node@v2 with: registry-url: 'https://registry.npmjs.org' - - run: npm publish --access public dist/natural + - run: npm publish --access public dist/natural/ env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -93,7 +93,7 @@ jobs: - uses: actions/setup-node@v2 with: registry-url: 'https://npm.pkg.github.com' - - run: npm publish --access public dist/natural + - run: npm publish --access public dist/natural/ env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}