Skip to content

fix #16

fix #16 #61

Workflow file for this run

name: publish
on:
push:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install Dependencies
run: npm ci
- name: Check Coverage
run: npm run coverage
- name: Check Linting
run: npm run lint
- name: Fix README for NPM
run: sed -i.tmp -e '10d' README.md && rm README.md.tmp
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}