refactor: unify pnpm version management with packageManager field (#23943)
This commit is contained in:
parent
01f2333381
commit
62c34c4bc2
5 changed files with 14 additions and 4 deletions
4
.github/workflows/web-tests.yml
vendored
4
.github/workflows/web-tests.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
package_json_file: web/package.json
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node.js
|
||||
|
|
@ -48,8 +48,10 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
working-directory: ./web
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Run tests
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
working-directory: ./web
|
||||
run: pnpm test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue