Skip to content

npm publish release #42

npm publish release

npm publish release #42

Workflow file for this run

name: "npm publish release"
on:
release:
types: ["published"]
jobs:
release:
name: "npm release"
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/[email protected]"
- name: "node"
uses: "actions/[email protected]"
with:
node-version: "12"
registry-url: "https://registry.npmjs.org"
- name: "publish"
run: "npm publish --access public"
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}