mirror of
https://github.com/zadam/trilium.git
synced 2025-09-24 07:35:43 +08:00
chore(nx/client): set up pnpm for release
This commit is contained in:
parent
3890eff6ba
commit
273af2d83b
3 changed files with 10 additions and 2 deletions
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -44,8 +44,10 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
run: pnpm install --frozen-lockfile
|
||||
- uses: nrwl/nx-set-shas@v4
|
||||
- name: Update nightly version
|
||||
run: npm run chore:ci-update-nightly-version
|
||||
- name: Run the build
|
||||
|
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -37,6 +37,10 @@ jobs:
|
|||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: 'pnpm'
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
- uses: nrwl/nx-set-shas@v4
|
||||
- name: Run the build
|
||||
uses: ./.github/actions/build-electron
|
||||
with:
|
||||
|
|
4
nx.json
4
nx.json
|
@ -14,7 +14,9 @@
|
|||
"!{projectRoot}/tsconfig.spec.json",
|
||||
"!{projectRoot}/src/test-setup.[jt]s"
|
||||
],
|
||||
"sharedGlobals": []
|
||||
"sharedGlobals": [
|
||||
"{workspaceRoot}/.github/workflows/release.yml"
|
||||
]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue