Skip to content

7.0.0

7.0.0 #24

Workflow file for this run

name: Test and Publish
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Install, Build, and Test
run: |
npm install
npm test
- name: Publish to npm
run: |
npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}