From 573ec58f8282fee4c520ace349c2014494c1c492 Mon Sep 17 00:00:00 2001 From: Sergio Barrio Date: Wed, 1 Oct 2025 18:17:33 +0200 Subject: [PATCH] Add Github publish action --- .github/workflows/publish.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 000000000..e53517eef --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,19 @@ +name: Publish packages on NPM +on: + # release: + # types: [created] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '18.x' + - run: yarn config set npmAuthToken $NPM_PUBLISH_TOKEN + env: + NPM_PUBLISH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + - run: yarn + - run: yarn run lerna publish from-package