Skip to content

Commit

Permalink
Use setup-node@v4's new node-version-file directly (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent committed Sep 16, 2024
1 parent efa74a5 commit 1c47685
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web-app/playwright/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Read .nvmrc
id: node_version
run: echo "$(cat .nvmrc)" && echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NVMRC }}
node-version-file: .nvmrc
cache: "yarn"
cache-dependency-path: web-app/yarn.lock
- uses: actions/cache@v4
Expand Down

0 comments on commit 1c47685

Please sign in to comment.