CI: fix levitate nvmrc paths (#107173)
* ci(levitate): fix nvmrc paths * ci(levitate): trigger runs when the workflow or nvmrc files change
This commit is contained in:
@@ -12,6 +12,8 @@ on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'packages/**'
|
||||
- '.nvmrc'
|
||||
- '.github/workflows/detect-breaking-changes-levitate.yml'
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
@@ -34,7 +36,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
node-version-file: './pr/.nvmrc'
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
@@ -86,7 +88,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
node-version-file: './base/.nvmrc'
|
||||
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
|
||||
Reference in New Issue
Block a user