Skip to content

publish

publish #12

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 18 x64
uses: actions/setup-node@v2
with:
node-version: 18
architecture: x64
registry-url: 'https://registry.npmjs.org'
- name: Publish
run: |
npm publish --access=public --non-interactive
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}