Skip to content

Commit de55188

Browse files
committed
feat: changes
1 parent 1b4e0ea commit de55188

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/publish.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,24 @@ jobs:
1919
node-version: '18' # Specify the Node.js version you need
2020
registry-url: 'https://registry.npmjs.org'
2121

22+
- name: Install BeyondJS globally
23+
run: npm install -g beyond@latest
24+
2225
- name: Install dependencies
26+
working-directory: src
2327
run: npm install
2428

25-
- name: Install BeyondJS globally
26-
run: npm install -g beyond
27-
2829
- name: Build package
2930
run: beyond build --pkg=pragmate-ui --distribution=npm --logs
3031

32+
- name: List build .beyond contents
33+
run: ls -la src/.beyond
34+
35+
- name: List build directory contents
36+
run: ls -la src/.beyond/builds/npm/code
37+
3138
- name: Publish to NPM
3239
working-directory: src/.beyond/builds/npm/code
3340
env:
3441
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35-
run: npm publish --access public
42+
run: npm publish

0 commit comments

Comments
 (0)