From ba2b6f8f52afcdfe62c3502bb2772829922eca9a Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Sat, 4 Nov 2023 10:46:17 +0100 Subject: [PATCH] GH Actions: try another way to publish JS build of KSC to npm --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd84d0e63..4c9afb7bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,11 +38,11 @@ jobs: # TODO: add compilerJVM/rpm:packageBin - - name: publish compiler to npm - working-directory: compiler/js/npm - run: npm publish --tag next + - name: publish JS compiler to npm + working-directory: compiler + run: ./publish_js_to_npm.sh env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_API_KEY: ${{ secrets.NPM_TOKEN }} - name: publish ksc to artifacts uses: actions/upload-artifact@v3