Skip to content

Merge pull request #34 from smartive/next #44

Merge pull request #34 from smartive/next

Merge pull request #34 from smartive/next #44

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
- next
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- run: npm install
- run: npm run build
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 19
extra_plugins: |
@semantic-release/changelog@6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}