Skip to content

Commit 0551996

Browse files
committed
ci(workspaces): fix setup-node
1 parent bb7a949 commit 0551996

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v1
1111
- name: Use Node.js 20.x
12-
uses: actions/setup-node@v1
12+
uses: actions/setup-node@v6
1313
with:
14-
node-version: 20.x
14+
node-version-file: '.nvmrc'
15+
- run: corepack enable
1516
- run: yarn install
1617
- run: yarn lint-test
1718

@@ -22,8 +23,9 @@ jobs:
2223
steps:
2324
- uses: actions/checkout@v1
2425
- name: Use Node.js 20.x
25-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v6
2627
with:
27-
node-version: 20.x
28+
node-version-file: '.nvmrc'
29+
- run: corepack enable
2830
- run: yarn install
2931
- run: yarn build

0 commit comments

Comments
 (0)