From aabe0183edaa2ea5d8293146615b4f4b16c9775d Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Sat, 4 Nov 2023 10:20:12 +0100 Subject: [PATCH] GH Actions: add step of publishing JS compiler to npm registry See https://github.com/kaitai-io/kaitai_struct/pull/1044#pullrequestreview-1541917941 --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1890f029d..bd84d0e63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,12 @@ jobs: # TODO: add compilerJVM/rpm:packageBin + - name: publish compiler to npm + working-directory: compiler/js/npm + run: npm publish --tag next + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: publish ksc to artifacts uses: actions/upload-artifact@v3 with: