Skip to content

Commit

Permalink
fix(build): add test workflow; fix build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler committed Jan 30, 2021
1 parent 6fbbc02 commit 211e9be
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test
on:
push:
branches:
- main
jobs:
release:
name: Test
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

- name: Run tests
run: npm t

Loading

0 comments on commit 211e9be

Please sign in to comment.