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