Skip to content

0.1.3

0.1.3 #22

Workflow file for this run

name: Publish
on:
push:
tags:
- 'v*'
jobs:
build:
name: NPM
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout Release
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install deps
run: yarn install --frozen-lockfile
- name: Test
run: yarn test
- name: Build
run: yarn dist
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}