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

View File

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