Skip to content

Commit

Permalink
feat: changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jircdev committed Sep 4, 2024
1 parent 1b4e0ea commit de55188
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit de55188

Please # to comment.