Skip to content

Setup .node-version to enforce Node version #45

Setup .node-version to enforce Node version

Setup .node-version to enforce Node version #45

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
env:
IMAGE_NAME: theknarf/dave
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install dependencies
run: yarn --immutable
- name: Tests
run: yarn test
- name: Build Docker image
run: docker build . --tag $IMAGE_NAME