Skip to content

add build

add build #8

Workflow file for this run

name: On Release
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Install
run: make install
- name: Run linter
run: make lint
- name: Run tests
run: make test
- name: Run build
run: make build
- name: Publish
run: |
npm config set //registry.npmjs.org/:_authToken ${{ secrets.npmjs_com }}
make publish