Skip to content

docs: update README.md (#424) #98

docs: update README.md (#424)

docs: update README.md (#424) #98

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: lts/*
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Publish to NPM
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
echo ":::: Publishing as $(npm whoami)"
npm run release:publish
env:
NPM_TOKEN: ${{ secrets.NPM_RELEASE_AUTH_TOKEN }}