Skip to content

publish

publish #4

Workflow file for this run

name: publish
on:
workflow_dispatch:
push:
tags:
- v*
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10 x64
uses: actions/setup-node@v2
with:
node-version: 10
architecture: x64
registry-url: "https://registry.npmjs.org"
- name: Install build dependencies
run: |
npm install
- name: Publish
run: |
npm publish --access=public --non-interactive
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}