Install Node.js version from .nvmrc in jobs (#3654)
This commit is contained in:
10
.github/workflows/pr-bloaty-ios.yml
vendored
10
.github/workflows/pr-bloaty-ios.yml
vendored
@@ -21,7 +21,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: .github
|
||||
sparse-checkout: |
|
||||
.github
|
||||
.nvmrc
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- run: npm install
|
||||
|
||||
- name: Get parent workflow result
|
||||
id: parent_workflow
|
||||
|
||||
10
.github/workflows/pr-linux-tests.yml
vendored
10
.github/workflows/pr-linux-tests.yml
vendored
@@ -24,7 +24,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: .github
|
||||
sparse-checkout: |
|
||||
.github
|
||||
.nvmrc
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- run: npm install
|
||||
|
||||
- name: Get parent workflow result
|
||||
id: parent_workflow
|
||||
|
||||
10
.github/workflows/upload-coverage.yml
vendored
10
.github/workflows/upload-coverage.yml
vendored
@@ -14,7 +14,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: .github
|
||||
sparse-checkout: |
|
||||
.github
|
||||
.nvmrc
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- run: npm install
|
||||
|
||||
- name: Get parent workflow result
|
||||
id: parent_workflow
|
||||
|
||||
Reference in New Issue
Block a user