Skip to content

Commit

Permalink
ci(github): setup node.js version based on .nvmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Nov 15, 2022
1 parent 68e162a commit 34df3ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
# Ignore README.md from find results to avoid unintentionally changes on the release step
- name: Setup Quickstarter (Project ID)
run: find . -type f \( ! -name "README.md" \) -exec sed -i 's/PROJECTID/foo/g' {} +
Expand Down

0 comments on commit 34df3ce

Please sign in to comment.