Skip to content

Update action.yml

Update action.yml #1

Workflow file for this run

name: Test build
on:
push:
pull_request:
jobs:
build:
name: Test build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Ensure build was committed (necessary for Github Actions)
run: "[[ -z $(git status -s dist) ]]"
- name: "[Test] Unit tests"
run: yarn test