mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fix(ci): resolve pkg.pr.new publish failure
Co-authored-by: AmirHossein Sakhravi <amirhosseinpr184@gmail.com>
This commit is contained in:
parent
a213bbd215
commit
2168441e6c
9
.github/workflows/preview.yml
vendored
9
.github/workflows/preview.yml
vendored
@ -16,6 +16,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@ -29,5 +31,10 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run package
|
||||
|
||||
- name: Prepare pnpm for preview publishing
|
||||
run: |
|
||||
npm install -g corepack@latest
|
||||
corepack prepare pnpm@latest --activate
|
||||
|
||||
- name: Release preview version
|
||||
run: npx pkg-pr-new publish './build/package' --template='./sample/playground'
|
||||
run: npm run publish:preview
|
||||
|
||||
12
package-lock.json
generated
12
package-lock.json
generated
@ -12819,9 +12819,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/query-string": {
|
||||
"version": "9.1.1",
|
||||
"resolved": "https://registry.npmjs.org/query-string/-/query-string-9.1.1.tgz",
|
||||
"integrity": "sha512-MWkCOVIcJP9QSKU52Ngow6bsAWAPlPK2MludXvcrS2bGZSl+T1qX9MZvRIkqUIkGLJquMJHWfsT6eRqUpp4aWg==",
|
||||
"version": "9.1.2",
|
||||
"resolved": "https://registry.npmjs.org/query-string/-/query-string-9.1.2.tgz",
|
||||
"integrity": "sha512-s3UlTyjxRux4KjwWaJsjh1Mp8zoCkSGKirbD9H89pEM9UOZsfpRZpdfzvsy2/mGlLfC3NnYVpy2gk7jXITHEtA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"decode-uri-component": "^0.4.1",
|
||||
@ -16043,9 +16043,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "3.24.3",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.3.tgz",
|
||||
"integrity": "sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==",
|
||||
"version": "3.24.4",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.24.4.tgz",
|
||||
"integrity": "sha512-OdqJE9UDRPwWsrHjLN2F8bPxvwJBK22EHLWtanu0LSYr5YqzsaaW3RMgmjwr8Rypg5k+meEJdSPXJZXE/yqOMg==",
|
||||
"dev": true,
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
|
||||
@ -86,7 +86,8 @@
|
||||
"test": "npm run compile && npm run test:fast --",
|
||||
"test:ci": "mocha --bail",
|
||||
"test:fast": "mocha",
|
||||
"watch": "tsc --watch"
|
||||
"watch": "tsc --watch",
|
||||
"publish:preview": "pkg-pr-new publish './build/package' --pnpm --template='./sample/playground'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sqltools/formatter": "^1.2.5",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user