diff --git a/.github/workflows/version-file-workflow.yml b/.github/workflows/version-file-workflow.yml new file mode 100644 index 00000000..102c1db7 --- /dev/null +++ b/.github/workflows/version-file-workflow.yml @@ -0,0 +1,33 @@ + + +name: version-file-test + + +on: + + push: + branches: [ add-node-version-file-support ] + pull_request: + branches: [ add-node-version-file-support ] + + + workflow_dispatch: + + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + + steps: + + - uses: actions/checkout@v2 + - name: Setup node test + uses: actions/setup-node@v2 + with: + node-version-file: '.nvmrc' + - run: npm ci + - run: npm run build diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..e23e7f3a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v12.4.0