From 052bc8b6a3c7dc3762cc73df734ee0e34e66489b Mon Sep 17 00:00:00 2001 From: La'Kaleigh Harris <35268101+Xlient@users.noreply.github.com> Date: Fri, 1 Oct 2021 20:02:10 +0000 Subject: [PATCH] created test workflow & nvmrc file --- .github/workflows/version-file-workflow.yml | 33 +++++++++++++++++++++ .nvmrc | 1 + 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/version-file-workflow.yml create mode 100644 .nvmrc 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