Skip to content

ci: update CI conf

ci: update CI conf #14

Workflow file for this run

name: Test And Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm ci
npx npm-install-peers
npm test -- --coverage
bash <(curl -s https://codecov.io/bash)
npm run build --if-present
env:
CI: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}