Skip to content

Commit

Permalink
[TASK] Use nvm to ensure correct node version
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott authored and gilbertsoft committed Aug 19, 2021
1 parent 8b5c391 commit 202900a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "##[set-output name=NVMRC;]$(cat Build/.nvmrc)"
id: nvm
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14.x'
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- name: Install
run: |
cd Build
Expand Down
1 change: 1 addition & 0 deletions Build/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14

0 comments on commit 202900a

Please sign in to comment.