Skip to content

Commit 9b500d8

Browse files
committed
fix: enable corepack before setting up node
https://stackoverflow.com/a/77902268
1 parent 82c8a37 commit 9b500d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/track_dependencies.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v5
16+
- name: Enable Corepack
17+
run: corepack enable
1618
- name: Setup Node
1719
uses: actions/setup-node@v4
1820
with:
1921
node-version: '18'
2022
cache: 'yarn'
21-
- name: Enable Corepack
22-
run: corepack enable
2323
- name: Generate SBOM
2424
run: yarn dlx -q @cyclonedx/yarn-plugin-cyclonedx -o sbom.json
2525
- name: Upload CycloneDx bom to dependency track

0 commit comments

Comments
 (0)