Skip to content

Commit f5d8c65

Browse files
committed
Test changes
1 parent 734cbd0 commit f5d8c65

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,15 @@ jobs:
6868
run: |
6969
npm run build
7070
71+
- name: Preflight npm auth and package checks
72+
working-directory: ./frontend
73+
run: |
74+
npm whoami
75+
npm view django-ai-assistant-client name version || echo "Package not found yet in npm registry (first publish path)."
76+
7177
- name: Publish package distributions to npm
7278
working-directory: ./frontend
7379
run: |
74-
npm publish
80+
npm publish --access public
7581
env:
7682
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)