Use .nvmrc file for CI setup-node (#23562)
This commit is contained in:
parent
4ed26b106c
commit
2cf4a2dcdd
4 changed files with 4 additions and 0 deletions
1
.github/workflows/lint-css.yml
vendored
1
.github/workflows/lint-css.yml
vendored
|
@ -36,6 +36,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install all yarn packages
|
||||
run: yarn --frozen-lockfile
|
||||
|
|
1
.github/workflows/lint-js.yml
vendored
1
.github/workflows/lint-js.yml
vendored
|
@ -32,6 +32,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install all yarn packages
|
||||
run: yarn --frozen-lockfile
|
||||
|
|
1
.github/workflows/lint-json.yml
vendored
1
.github/workflows/lint-json.yml
vendored
|
@ -32,6 +32,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install all yarn packages
|
||||
run: yarn --frozen-lockfile
|
||||
|
|
1
.github/workflows/lint-yml.yml
vendored
1
.github/workflows/lint-yml.yml
vendored
|
@ -34,6 +34,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install all yarn packages
|
||||
run: yarn --frozen-lockfile
|
||||
|
|
Loading…
Reference in a new issue