diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ff5b37d0b..0421cf758 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,6 +22,7 @@ jobs: uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0 with: cache: true + node-version-file: '.nvmrc' - name: Run lint and format checks run: vp run check diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0ac4e2e94..f44ef275d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -70,6 +70,7 @@ jobs: uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0 with: cache: true + node-version-file: '.nvmrc' - name: Build application run: vp run build diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index cdde0216c..38552cde8 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -31,6 +31,7 @@ jobs: with: cache: true run-install: 'false' + node-version-file: '.nvmrc' - name: Validate Renovate config run: vp dlx --package renovate renovate-config-validator diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93787a3e7..b2578a0b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,7 @@ jobs: uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0 with: cache: true + node-version-file: '.nvmrc' - name: Check TypeScript run: vp exec tsc --noEmit @@ -65,6 +66,7 @@ jobs: uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0 with: cache: true + node-version-file: '.nvmrc' - name: Run visual regression tests # The job already runs in the pinned image, so the script runs vitest @@ -103,6 +105,7 @@ jobs: uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0 with: cache: true + node-version-file: '.nvmrc' - name: Download a single artifact uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1