Add a class to verify dependabot prs/commits

- Add ci config
This commit is contained in:
Barry Gordon
2021-05-26 16:44:36 +01:00
parent 5463e0e4c6
commit 0d51a971f0
3 changed files with 253 additions and 0 deletions

30
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: CI
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup nodejs
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test