Skip to content

Commit

Permalink
chore: update release action to get node version from .nvmrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
victory-sokolov committed Feb 5, 2024
1 parent fbbb0d0 commit 0d742d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Read .nvmrc
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
id: nvm

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit 0d742d4

Please sign in to comment.