From 95ceb7b6d07b3a34d811a68e46aacd82e5bdd847 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 9 Sep 2024 20:51:31 +0200 Subject: [PATCH] ci: actually download and publish in js ci --- .github/workflows/javascript.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/javascript.yml b/.github/workflows/javascript.yml index 9e64a85..204ccde 100644 --- a/.github/workflows/javascript.yml +++ b/.github/workflows/javascript.yml @@ -61,9 +61,15 @@ jobs: working-directory: dist/js/publish - run: npx napi create-npm-dir -t . working-directory: dist/js/publish + - uses: actions/download-artifact@v4 + with: + path: artifacts + pattern: codemp-js-* - run: npx napi artifacts working-directory: dist/js/publish - - run: npx napi prepublish -t . + - run: npx napi prepublish -t . --skip-gh-release + working-directory: dist/js/publish + - run: npm publish working-directory: dist/js/publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}