Skip to content

Commit 0fa0c8d

Browse files
committed
QA: Rely on default recursive install behavior of pnpm
1 parent 85e1a9c commit 0fa0c8d

5 files changed

Lines changed: 6 additions & 16 deletions

File tree

.github/workflows/CreateGWRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
cache: 'pnpm'
3636

3737
- name: "Installing dependencies"
38-
run: pnpm --dir packages/release-tools install
38+
run: pnpm install
3939

4040
- name: "Creating GW release and MR"
4141
run: "pnpm --dir packages/release-tools run release:gw"

.github/workflows/CreatePWTRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
cache: 'pnpm'
3636

3737
- name: "Installing dependencies"
38-
run: pnpm --dir packages/release-tools install
38+
run: pnpm install
3939

4040
- name: "Creating PWT release and MR"
4141
run: "pnpm --dir packages/release-tools run release:pwt"

.github/workflows/PublishNpm.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,7 @@ jobs:
3232
node-version-file: ".nvmrc"
3333
cache: 'pnpm'
3434

35-
- name: "Installing pluggable-widgets-tools dependencies"
36-
working-directory: ./packages/pluggable-widgets-tools
37-
if: contains(steps.variables.outputs.tag, 'pluggable-widgets-tools-v')
38-
run: pnpm install
39-
4035
- name: "Installing generator-widget dependencies"
41-
working-directory: ./packages/generator-widget
42-
if: contains(steps.variables.outputs.tag, 'generator-widget-v')
4336
run: pnpm install
4437

4538
- name: "Targeting Pluggable Widgets Tools"

.github/workflows/TestPWTCommands.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,14 @@ jobs:
6060
cache: 'pnpm'
6161

6262
- name: "Installing dependencies"
63-
working-directory: ./
6463
if: steps.filter.outputs.packages == 'true' || steps.filter.outputs.tests == 'true'
65-
run: pnpm --dir packages/command-tests install
64+
run: pnpm install
6665

6766
- name: Increase number of watchers
6867
if: (steps.filter.outputs.packages == 'true' || steps.filter.outputs.tests == 'true') && startsWith(matrix.os, 'ubuntu')
6968
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
7069

7170
- name: "Testing PWT commands"
72-
working-directory: ./
71+
working-directory: ./packages/command-tests
7372
if: steps.filter.outputs.packages == 'true' || steps.filter.outputs.tests == 'true'
74-
run: pnpm --dir packages/command-tests test
73+
run: pnpm test

.github/workflows/UnitTests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ jobs:
4848
cache: 'pnpm'
4949

5050
- name: "Installing dependencies"
51-
working-directory: ./
5251
if: steps.filter.outputs.packages == 'true'
53-
run: pnpm -r install
52+
run: pnpm install
5453

5554
- name: "Running unit tests"
56-
working-directory: ./
5755
if: steps.filter.outputs.packages == 'true'
5856
run: pnpm -r test
5957

0 commit comments

Comments
 (0)