Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Update README.md

Update README.md #162

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4 # This action checks-out your repository under $GITHUB_WORKSPACE, so your workflow can access it.
with:
ref: main
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: "https://registry.npmjs.org" # This registry URL is necessary for publishing on NPM
- name: Install Dependencies
run: npm ci
- name: Release Package
env:
HUSKY: 0 # skip the husky hooks
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # should be set in Github repo, need this to publish on NPM
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by Github Actions, need this to create a GitHub Release
run: |
npx semantic-release