Adding Node.js version file support (#338)

This commit is contained in:
Hargun Kaur
2021-11-29 14:48:31 +05:30
committed by GitHub
parent 360ab8b75b
commit d08cf22211
9 changed files with 221 additions and 23 deletions

View File

@ -78,6 +78,21 @@ jobs:
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
version-file:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Setup node from node version file
uses: ./
with:
node-version-file: '__tests__/data/.nvmrc'
- name: Verify node
run: __tests__/verify-node.sh 14
node-dist:
runs-on: ${{ matrix.os }}
strategy: