5252 typescript-esm-npm :
5353 strategy :
5454 matrix :
55- os : [ubuntu-latest, windows-latest]
55+ os :
56+ - ubuntu-latest
57+ - windows-latest
5658
5759 name : TypeScript ESM (npm)
5860 runs-on : ${{ matrix.os }}
8688
8789 - name : Install TypeScript Template Dependencies
8890 id : install-typescript
89- run : npm ci
91+ run : |
92+ npm ci
93+ npm uninstall @github/local-action
9094 working-directory : typescript-action
9195
9296 - name : Link @github/local-action
@@ -109,7 +113,9 @@ jobs:
109113 javascript-esm-npm :
110114 strategy :
111115 matrix :
112- os : [ubuntu-latest, windows-latest]
116+ os :
117+ - ubuntu-latest
118+ - windows-latest
113119
114120 name : JavaScript ESM (npm)
115121 runs-on : ${{ matrix.os }}
@@ -143,7 +149,9 @@ jobs:
143149
144150 - name : Install JavaScript Template Dependencies
145151 id : install-javascript
146- run : npm ci
152+ run : |
153+ npm ci
154+ npm uninstall @github/local-action
147155 working-directory : javascript-action
148156
149157 - name : Link @github/local-action
@@ -166,7 +174,9 @@ jobs:
166174 typescript-esm-pnpm :
167175 strategy :
168176 matrix :
169- os : [ubuntu-latest, windows-latest]
177+ os :
178+ - ubuntu-latest
179+ - windows-latest
170180
171181 name : TypeScript ESM (pnpm)
172182 runs-on : ${{ matrix.os }}
@@ -206,14 +216,21 @@ jobs:
206216
207217 - name : Install TypeScript Template Dependencies
208218 id : install-typescript
209- run : pnpm install
219+ run : |
220+ pnpm install
221+ pnpm uninstall @github/local-action
210222 working-directory : typescript-pnpm-esm-action
211223
212- - name : Link @github/local-action
213- id : link
214- run : pnpm link
224+ - name : Create Global Link
225+ id : create- link
226+ run : npm link
215227 working-directory : local-action
216228
229+ - name : Use Global Link
230+ id : use-link
231+ run : pnpm link "${{ github.workspace }}/local-action"
232+ working-directory : typescript-pnpm-esm-action
233+
217234 - name : Generate Dotenv File
218235 id : dotenv
219236 run : |
@@ -229,7 +246,9 @@ jobs:
229246 typescript-cjs-pnpm :
230247 strategy :
231248 matrix :
232- os : [ubuntu-latest, windows-latest]
249+ os :
250+ - ubuntu-latest
251+ - windows-latest
233252
234253 name : TypeScript CJS (pnpm)
235254 runs-on : ${{ matrix.os }}
@@ -269,14 +288,21 @@ jobs:
269288
270289 - name : Install TypeScript Template Dependencies
271290 id : install-typescript
272- run : pnpm install
291+ run : |
292+ pnpm install
293+ pnpm uninstall @github/local-action
273294 working-directory : typescript-pnpm-cjs-action
274295
275- - name : Link @github/local-action
276- id : link
277- run : pnpm link
296+ - name : Create Global Link
297+ id : create- link
298+ run : npm link
278299 working-directory : local-action
279300
301+ - name : Use Global Link
302+ id : use-link
303+ run : pnpm link "${{ github.workspace }}/local-action"
304+ working-directory : typescript-pnpm-cjs-action
305+
280306 - name : Generate Dotenv File
281307 id : dotenv
282308 run : |
@@ -333,11 +359,16 @@ jobs:
333359 yarn install
334360 working-directory : typescript-yarn-esm-action
335361
336- - name : Link @github/local-action
337- id : link
338- run : yarn link
362+ - name : Create Global Link
363+ id : create- link
364+ run : npm link
339365 working-directory : local-action
340366
367+ - name : Use Global Link
368+ id : use-link
369+ run : yarn link "${{ github.workspace }}/local-action"
370+ working-directory : typescript-yarn-esm-action
371+
341372 - name : Generate Dotenv File
342373 id : dotenv
343374 run : |
0 commit comments