chore(nx/client): set up pnpm for release

This commit is contained in:
Elian Doran 2025-04-26 23:40:22 +03:00
parent 3890eff6ba
commit 273af2d83b
No known key found for this signature in database
3 changed files with 10 additions and 2 deletions

View File

@ -44,8 +44,10 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
run: npm i run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Update nightly version - name: Update nightly version
run: npm run chore:ci-update-nightly-version run: npm run chore:ci-update-nightly-version
- name: Run the build - name: Run the build

View File

@ -37,6 +37,10 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Run the build - name: Run the build
uses: ./.github/actions/build-electron uses: ./.github/actions/build-electron
with: with:

View File

@ -14,7 +14,9 @@
"!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/src/test-setup.[jt]s" "!{projectRoot}/src/test-setup.[jt]s"
], ],
"sharedGlobals": [] "sharedGlobals": [
"{workspaceRoot}/.github/workflows/release.yml"
]
}, },
"plugins": [ "plugins": [
{ {