Skip to content

Commit 2cd5cc5

Browse files
committed
chore(workflow): add public flag to npm publish
1 parent 9f9f2de commit 2cd5cc5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/publish-dry-run.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ jobs:
2424
- run: bun test --coverage
2525
- run: bun docs
2626
- run: bun run build
27-
- run: npm publish --dry-run
27+
- run: npm publish --access public --dry-run
2828
env:
2929
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: bun run build
3838

3939
- name: Publish
40-
run: npm publish
40+
run: npm publish --access public
4141
env:
4242
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4343

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"index.d.ts",
1313
"tsconfig.json",
1414
"!build.ts",
15+
"!**/*.config.ts",
1516
"!**/*.test.ts",
1617
"!**/__test__"
1718
],

0 commit comments

Comments
 (0)