mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-31 20:22:27 +08:00
feat(ci): switch to yarn classic
This commit is contained in:
parent
e7ee51f84d
commit
19d6f10ccb
2
.github/workflows/release-package.yml
vendored
2
.github/workflows/release-package.yml
vendored
@ -11,9 +11,7 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
always-auth: true
|
|
||||||
registry-url: https://npm.pkg.github.com/
|
registry-url: https://npm.pkg.github.com/
|
||||||
scope: '@triliumnext'
|
|
||||||
- run: yarn install
|
- run: yarn install
|
||||||
- run: yarn push
|
- run: yarn push
|
||||||
env:
|
env:
|
||||||
|
@ -1 +0,0 @@
|
|||||||
nodeLinker: node-modules
|
|
@ -14,7 +14,7 @@
|
|||||||
"build:watch": "npx tsc -w",
|
"build:watch": "npx tsc -w",
|
||||||
"build:dev": "npx tsc && yarn copy-assets",
|
"build:dev": "npx tsc && yarn copy-assets",
|
||||||
"build:prod": "yarn clean && cross-env NODE_ENV=production tsc -p ./tsconfig.production.json",
|
"build:prod": "yarn clean && cross-env NODE_ENV=production tsc -p ./tsconfig.production.json",
|
||||||
"push": "yarn test && yarn build:prod && yarn npm publish",
|
"push": "yarn test && yarn build:prod && yarn publish",
|
||||||
"run:examples:file": "node ./dist/examples/express-file-server/index.js",
|
"run:examples:file": "node ./dist/examples/express-file-server/index.js",
|
||||||
"run:examples:mongo": "node ./dist/examples/express-mongo-server/index.js"
|
"run:examples:mongo": "node ./dist/examples/express-mongo-server/index.js"
|
||||||
},
|
},
|
||||||
@ -51,5 +51,5 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"express": "^4.16.4"
|
"express": "^4.16.4"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@4.4.1+sha512.f825273d0689cc9ead3259c14998037662f1dcd06912637b21a450e8da7cfeb4b1965bbee73d16927baa1201054126bc385c6f43ff4aa705c8631d26e12460f1"
|
"packageManager": "yarn@1.22.22"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user