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