Use .nvmrc file for CI setup-node (#23562)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user