28 lines
470 B
YAML
28 lines
470 B
YAML
name: Main
|
|
on: push
|
|
|
|
jobs:
|
|
test-and-release:
|
|
name: Test and release
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12
|
|
|
|
- name: Install
|
|
run: npm ci
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Test
|
|
run: npm test
|
|
|
|
- name: Coverage
|
|
uses: codecov/codecov-action@v1
|