Skip to content

Commit

Permalink
Use NVM version for GitHub test
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Jun 22, 2024
1 parent cca39d9 commit da862ff
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- name: Checkout repository
uses: actions/checkout@v2
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '${{ steps.nvm.outputs.NVMRC }}'
- run: npm ci
- run: npm test

0 comments on commit da862ff

Please sign in to comment.