Skip to content

publish-npm-package #190

publish-npm-package

publish-npm-package #190

name: package-publish
on: workflow_dispatch
jobs:
package-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Install Package
run: |
yarn
yarn bootstrap
- name: WhoAmI
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm whoami