Skip to content

Commit

Permalink
all workflows use action to parse versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AGS4NO committed Mar 2, 2024
1 parent 4752916 commit f1e1d0a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: Parse Tool Versions
id: tool-versions-action
uses: ./
with:
file: .tool-versions

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
node-version: ${{ env.NODEJS_VERSION }}
cache: npm

- name: Install Dependencies
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ jobs:
with:
fetch-depth: 0

- name: Parse Tool Versions
id: tool-versions-action
uses: ./
with:
file: .tool-versions

- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
node-version: ${{ env.NODEJS_VERSION }}
cache: npm

- name: Install Dependencies
Expand Down

0 comments on commit f1e1d0a

Please sign in to comment.