Skip to content

Commit 7c82488

Browse files
committed
fix: add package validation step and update npm publish command for public access
1 parent 3f98591 commit 7c82488

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ jobs:
4646
- name: Build package
4747
run: bun run build
4848

49+
- name: Validate package with publint
50+
run: bunx publint
51+
4952
- name: Create .npmrc file
50-
run: echo "//registry.npmjs.org/:_authToken=\${{ secrets.NPM_TOKEN }}" > .npmrc
53+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
5154

5255
- name: Publish to npm
53-
run: npm publish
56+
run: npm publish --access public

0 commit comments

Comments
 (0)