Skip to content

1.2.0

1.2.0 #35

Workflow file for this run

name: npm-publish
on:
release:
types: [released]
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: '12'
- name: Install example packages
run: cd example; yarn
- name: Install packages
run: yarn
- name: Publish release to npm
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
run: yarn publish --non-interactive