Skip to content

Adding Command Type Options (#41) #12

Adding Command Type Options (#41)

Adding Command Type Options (#41) #12

Workflow file for this run

name: Node.js Package
on:
push:
tags:
- '*'
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install Dependencies
run: npm install
- name: Build Package
run: npm run build
- name: Build NPMRC File
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Publish Package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}