Skip to content

Commit 05f827a

Browse files
build: use package-manager input for the screenshot workflow BM-1398 (#433)
### Motivation Some [recent changes] to the **action-typescript** repository are causing the [screenshot job] to fail. [recent changes]: https://github.com/linz/action-typescript/commits/master/?since=2025-10-07&until=2025-10-07 [screenshot job]: https://github.com/linz/basemaps-screenshot/actions/runs/18330023138/job/52312482441 This repository uses [yarn] as a package manager. However, it does not use the `package-manager` [workflow parameter provided by action-typescript] to indicate this. We suspect that adding that parameter will resolve the failure. [yarn]: https://yarnpkg.com/ [workflow parameter provided by action-typescript]: https://github.com/linz/action-typescript/blob/47be81e60ed1d891c696c3fb7f558876ba9a2b57/.github/workflows/main.yml#L6 ### Modifications - **workflows/`screenshot.yml`** - Added the `package-manager` input with a value of `yarn`. ### Verification - The [screenshot job] is proceeding without issue again. [screenshot job]: https://github.com/linz/basemaps-screenshot/actions/runs/18390108503/job/52398202996?pr=433#step:2:162
1 parent c9f0400 commit 05f827a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/screenshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
contents: read
1616
steps:
1717
- uses: linz/action-typescript@v3
18+
with:
19+
package-manager: yarn
1820

1921
- name: (Screenshot) Screenshot Pull Request Changes
2022
run: |

0 commit comments

Comments
 (0)