created test workflow & nvmrc file

This commit is contained in:
La'Kaleigh Harris 2021-10-01 20:02:10 +00:00 committed by GitHub
parent 82441b3f82
commit 052bc8b6a3
2 changed files with 34 additions and 0 deletions

View file

@ -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

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
v12.4.0