Skip to content

Commit a5b28e3

Browse files
committed
ci(workspaces): fix actions/setup-node to use correct versions of node and yarn
1 parent 76af789 commit a5b28e3

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
uses: actions/setup-node@v3
1313
with:
1414
node-version-file: '.nvmrc'
15+
- run: corepack enable
1516
- run: yarn install
1617
- run: yarn lint-test
1718

@@ -25,5 +26,6 @@ jobs:
2526
uses: actions/setup-node@v3
2627
with:
2728
node-version-file: '.nvmrc'
29+
- run: corepack enable
2830
- run: yarn install
2931
- run: yarn build

.github/workflows/npm-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
with:
1515
node-version-file: '.nvmrc'
1616
registry-url: https://registry.npmjs.org/
17+
- run: corepack enable
1718
- run: yarn
1819
- run: yarn lint-test
1920
- run: yarn build

0 commit comments

Comments
 (0)