Specify node version

This commit is contained in:
David Edmondson 2021-09-06 13:31:01 -07:00
parent 17da325585
commit 6320189717

@ -24,21 +24,17 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Cache NPM dependencies
uses: actions/cache@v1
- uses: actions/setup-node@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-npm-cache-
node-version: "14"
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Test
run: npm run test
- name: Install NPM dependencies
run: npm ci
- name: Build
run: npm run build