Skip to content

Commit 0ca9971

Browse files
committed
fix(workflows): remove empty with blocks from ci.yml
Fix YAML syntax errors from empty with: blocks in pnpm-action-setup. Move comments outside of action configuration.
1 parent 0545ef7 commit 0ca9971

1 file changed

Lines changed: 10 additions & 20 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ jobs:
2929

3030
- name: Setup pnpm
3131
uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
32-
with:
33-
# NOTE: Do not specify 'version' here - pnpm-action-setup automatically reads
34-
# the version from the 'packageManager' field in package.json. Specifying both
35-
# causes ERR_PNPM_BAD_PM_VERSION errors.
32+
# NOTE: Do not specify version - pnpm-action-setup automatically reads
33+
# the version from the packageManager field in package.json.
3634

3735
- name: Setup Node.js
3836
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -57,10 +55,8 @@ jobs:
5755

5856
- name: Setup pnpm
5957
uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
60-
with:
61-
# NOTE: Do not specify 'version' here - pnpm-action-setup automatically reads
62-
# the version from the 'packageManager' field in package.json. Specifying both
63-
# causes ERR_PNPM_BAD_PM_VERSION errors.
58+
# NOTE: Do not specify version - pnpm-action-setup automatically reads
59+
# the version from the packageManager field in package.json.
6460

6561
- name: Setup Node.js
6662
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -91,10 +87,8 @@ jobs:
9187

9288
- name: Setup pnpm
9389
uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
94-
with:
95-
# NOTE: Do not specify 'version' here - pnpm-action-setup automatically reads
96-
# the version from the 'packageManager' field in package.json. Specifying both
97-
# causes ERR_PNPM_BAD_PM_VERSION errors.
90+
# NOTE: Do not specify version - pnpm-action-setup automatically reads
91+
# the version from the packageManager field in package.json.
9892

9993
- name: Setup Node.js
10094
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -123,10 +117,8 @@ jobs:
123117

124118
- name: Setup pnpm
125119
uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
126-
with:
127-
# NOTE: Do not specify 'version' here - pnpm-action-setup automatically reads
128-
# the version from the 'packageManager' field in package.json. Specifying both
129-
# causes ERR_PNPM_BAD_PM_VERSION errors.
120+
# NOTE: Do not specify version - pnpm-action-setup automatically reads
121+
# the version from the packageManager field in package.json.
130122

131123
- name: Setup Node.js
132124
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
@@ -155,10 +147,8 @@ jobs:
155147

156148
- name: Setup pnpm
157149
uses: pnpm/action-setup@9fd676a19091d4595eefd76e4bd31c97133911f1 # v4.2.0
158-
with:
159-
# NOTE: Do not specify 'version' here - pnpm-action-setup automatically reads
160-
# the version from the 'packageManager' field in package.json. Specifying both
161-
# causes ERR_PNPM_BAD_PM_VERSION errors.
150+
# NOTE: Do not specify version - pnpm-action-setup automatically reads
151+
# the version from the packageManager field in package.json.
162152

163153
- name: Setup Node.js
164154
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0

0 commit comments

Comments
 (0)