Skip to content

Commit

Permalink
ci(release.yml): update workflow to support nvm and use correct Node …
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
adrianschmidt authored and jgroth committed Aug 7, 2024
1 parent 67940a8 commit d3fac66
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v2
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- uses: actions/setup-node@v4
with:
node-version: '14'
check-latest: true
- run: npm i -g [email protected]
node-version: "${{ steps.nvm.outputs.NVMRC }}"
- run: node -v && npm -v
- run: npm ci
- run: npm test
- run: npm run build
Expand Down

0 comments on commit d3fac66

Please sign in to comment.