Skip to content

Merge pull request #31 from ritesh404/feat/update #37

Merge pull request #31 from ritesh404/feat/update

Merge pull request #31 from ritesh404/feat/update #37

Workflow file for this run

name: Release NPM Package
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "18.x"
- run: npm ci
- run: npm test
- run: npm run build --if-present
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}