Skip to content

Merge pull request #1 from Vikas1712/feat_ver #3

Merge pull request #1 from Vikas1712/feat_ver

Merge pull request #1 from Vikas1712/feat_ver #3

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Release Package
on:
push:
branches:
- main
- next
permissions:
contents: write
issues: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- run: npm ci
- run: npm run build
- run: npm audit signature
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm run semantic-release