Skip to content

Commit

Permalink
ci: use node version from .nvmrc (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
lytovka committed Apr 22, 2023
1 parent 0c659e3 commit 1926fcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN_SEMANTIC_RELEASE }}
- name: Get Node.js version from .nvmrc
run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: ${{ env.NVMRC }}
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
Expand Down

0 comments on commit 1926fcf

Please sign in to comment.