Skip to content

Commit

Permalink
chore: Set the node version in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Oct 27, 2024
1 parent 6d88f56 commit d0af7a9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dictionaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-extension-list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d0af7a9

Please sign in to comment.