-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(release.yml): update workflow to support nvm and use correct Node …
…version
- Loading branch information
1 parent
67940a8
commit d3fac66
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|