Skip to content

Commit a6395d0

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

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
CI_JOB_NUMBER: 1
99
steps:
1010
- uses: actions/checkout@v1
11-
- name: Use Node.js from .nvmrc
11+
- name: Use Node.js 20.x
1212
uses: actions/setup-node@v6
1313
with:
1414
node-version-file: '.nvmrc'
@@ -22,12 +22,10 @@ jobs:
2222
CI_JOB_NUMBER: 2
2323
steps:
2424
- uses: actions/checkout@v1
25-
with:
26-
fetch-depth: 0
27-
- name: Use Node.js from .nvmrc
25+
- name: Use Node.js 20.x
2826
uses: actions/setup-node@v6
2927
with:
3028
node-version-file: '.nvmrc'
3129
- run: corepack enable
3230
- run: yarn install
33-
- run: yarn build:modified origin/${{ github.event.pull_request.base.ref }}
31+
- run: yarn build

0 commit comments

Comments
 (0)