Skip to content

Update publish_npm.yaml #5

Update publish_npm.yaml

Update publish_npm.yaml #5

Workflow file for this run

name: publish npm
on:
push:
tags:
- 'version: *'
branches:
- main
workflow_dispatch:
jobs:
deploy_npm:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v2
- name: Publish NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}