CI: fix levitate nvmrc paths (#107173)

* ci(levitate): fix nvmrc paths

* ci(levitate): trigger runs when the workflow or nvmrc files change
pull/106928/head
Jack Westbrook 2 days ago committed by GitHub
parent 2837f8fb58
commit ff81910776
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      .github/workflows/detect-breaking-changes-levitate.yml

@ -12,6 +12,8 @@ on:
pull_request: pull_request:
paths: paths:
- 'packages/**' - 'packages/**'
- '.nvmrc'
- '.github/workflows/detect-breaking-changes-levitate.yml'
branches: branches:
- 'main' - 'main'
@ -34,7 +36,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: './pr/.nvmrc'
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
@ -86,7 +88,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: './base/.nvmrc'
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path

Loading…
Cancel
Save