diff --git a/.github/workflows/checkin.yml b/.github/workflows/checkin.yml index 3cd5be2..39e67e1 100644 --- a/.github/workflows/checkin.yml +++ b/.github/workflows/checkin.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 20 + node-version-file: '.tool-versions' - name: "npm ci" run: npm ci diff --git a/.github/workflows/example-builds-defaultarch.yml b/.github/workflows/example-builds-defaultarch.yml index 23740c8..c4b3f06 100644 --- a/.github/workflows/example-builds-defaultarch.yml +++ b/.github/workflows/example-builds-defaultarch.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-node@v4 if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} with: - node-version: 16 + node-version-file: '.tool-versions' - name: "Install dependencies" if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} diff --git a/.github/workflows/example-builds-nightly-defaultarch.yml b/.github/workflows/example-builds-nightly-defaultarch.yml index 6401cdf..0c7464c 100644 --- a/.github/workflows/example-builds-nightly-defaultarch.yml +++ b/.github/workflows/example-builds-nightly-defaultarch.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-node@v4 if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} with: - node-version: 16 + node-version-file: '.tool-versions' - name: "Install dependencies" if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} diff --git a/.github/workflows/example-builds-nightly.yml b/.github/workflows/example-builds-nightly.yml index 21190a6..3861206 100644 --- a/.github/workflows/example-builds-nightly.yml +++ b/.github/workflows/example-builds-nightly.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-node@v4 if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} with: - node-version: 16 + node-version-file: '.tool-versions' - name: "Install dependencies" if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} diff --git a/.github/workflows/example-builds.yml b/.github/workflows/example-builds.yml index 0515b12..1471d98 100644 --- a/.github/workflows/example-builds.yml +++ b/.github/workflows/example-builds.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/setup-node@v4 if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} with: - node-version: 16 + node-version-file: '.tool-versions' - name: "Install dependencies" if: ${{ ! startsWith(github.ref, 'refs/heads/releases') }} diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..d7568ad --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 20.11.1