Skip to content

Publish

Publish #39

Workflow file for this run

name: Publish
on:
release:
types: [released]
jobs:
publish:
name: Upload archives
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Build
run: |
yarn
yarn prepare
- name: Setup node for publishing
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}