npm publish release #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |