Skip to content

docs(README): Add semantic release rule to create release on docs cha… #10

docs(README): Add semantic release rule to create release on docs cha…

docs(README): Add semantic release rule to create release on docs cha… #10

Workflow file for this run

name: NPM release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Build package
run: yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn release