Skip to content

Commit 1c47685

Browse files
authored
Use setup-node@v4's new node-version-file directly (#3435)
1 parent efa74a5 commit 1c47685

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web-app/playwright/jobs.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,11 @@ jobs:
4949
steps:
5050
- name: Check out code
5151
uses: actions/checkout@v3
52-
- name: Read .nvmrc
53-
id: node_version
54-
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
5552
- name: Enable Corepack
5653
run: corepack enable
5754
- uses: actions/setup-node@v4
5855
with:
59-
node-version: ${{ env.NVMRC }}
56+
node-version-file: .nvmrc
6057
cache: "yarn"
6158
cache-dependency-path: web-app/yarn.lock
6259
- uses: actions/cache@v4

0 commit comments

Comments
 (0)