From de55188bd0e46484af157a634f59b3e608eb3a42 Mon Sep 17 00:00:00 2001 From: Julio Rodriguez Date: Wed, 4 Sep 2024 17:32:17 -0300 Subject: [PATCH] feat: changes --- .github/workflows/publish.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d24d1f38..2e6d5ed4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,17 +19,24 @@ jobs: node-version: '18' # Specify the Node.js version you need registry-url: 'https://registry.npmjs.org' + - name: Install BeyondJS globally + run: npm install -g beyond@latest + - name: Install dependencies + working-directory: src run: npm install - - name: Install BeyondJS globally - run: npm install -g beyond - - name: Build package run: beyond build --pkg=pragmate-ui --distribution=npm --logs + - name: List build .beyond contents + run: ls -la src/.beyond + + - name: List build directory contents + run: ls -la src/.beyond/builds/npm/code + - name: Publish to NPM working-directory: src/.beyond/builds/npm/code env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm publish --access public + run: npm publish