Skip to content

6.0.0

6.0.0 #9

Workflow file for this run

name: NPM Publish
on:
push:
tags: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm i
- run: npm test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm i
- name: Build types
run: npm run build-types
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}