ref(git): command in workflow

This commit is contained in:
Nan72 2025-02-14 13:04:49 +07:00
parent 34cf9bc038
commit df2ad11cec
No known key found for this signature in database
2 changed files with 7 additions and 4 deletions

View File

@ -11,9 +11,12 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: bun run build
- name: Setup pnpm
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
with:
version: 9 # Optional: specify a pnpm version
- run: pnpm install
- run: pnpm build
- name: Publish to NPM
run: npm publish --provenance --access public
env:

View File

@ -74,7 +74,7 @@
},
"scripts": {
"dev": "bun build.ts dev",
"build": "bun build.ts",
"build": "tsc build.ts",
"publish": "npm publish --provenance"
},
"dependencies": {