Skip to content

Publish Package

Publish Package #23

Workflow file for this run

name: Publish Package
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: ./package
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: |
yarn
- name: Build
run: |
yarn build
- name: Publish
run: |
npm publish dist --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}