Skip to content

Commit

Permalink
Chore(ci): Use node version file instead of version number in CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Jun 25, 2023
1 parent f5f21ca commit cd470c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 50
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'

- name: Fetch main
run: git fetch --no-tags --depth=50 origin main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'

- name: Fetch tags
run: git fetch --tags origin release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 50
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: '.nvmrc'

- name: Fetch main
run: git fetch --no-tags --depth=50 origin main
Expand Down

0 comments on commit cd470c7

Please sign in to comment.