diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a606e8fd..2b2c9d77 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,6 +15,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: + node-version-file: .tool-versions cache: npm - run: npm install - run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 16c6b2c4..2b727260 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: ${{ vars.DEFAULT_NODE_VERSION }} + node-version-file: .tool-versions cache: npm - run: npm install - run: | @@ -66,7 +66,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: ${{ vars.DEFAULT_NODE_VERSION }} + node-version-file: .tool-versions cache: npm - run: npm install diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index d8d583a1..44b3e75e 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -30,6 +30,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: + node-version-file: .tool-versions cache: npm - name: Update Root run: | diff --git a/.github/workflows/update-dictionaries.yml b/.github/workflows/update-dictionaries.yml index 0b35db13..a1e5166a 100644 --- a/.github/workflows/update-dictionaries.yml +++ b/.github/workflows/update-dictionaries.yml @@ -34,8 +34,8 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: + node-version-file: .tool-versions cache: npm - - name: Install run: npm install diff --git a/.github/workflows/update-extension-list.yml b/.github/workflows/update-extension-list.yml index 9866e021..3234d645 100644 --- a/.github/workflows/update-extension-list.yml +++ b/.github/workflows/update-extension-list.yml @@ -25,7 +25,9 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: + node-version-file: .tool-versions cache: npm + - name: Install run: npm install