mirror of
https://github.com/NaN72dev/kunkun-ext-string-utils.git
synced 2025-04-04 10:16:44 +00:00
ref(git): command in workflow
This commit is contained in:
parent
34cf9bc038
commit
df2ad11cec
9
.github/workflows/npm-publish.yml
vendored
9
.github/workflows/npm-publish.yml
vendored
@ -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:
|
||||||
|
@ -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": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user