Skip to content

use correct semantic release plugin #2

use correct semantic release plugin

use correct semantic release plugin #2

Workflow file for this run

name: Release npm package
on:
push:
branches:
- main
jobs:
release:
name: Build & release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: npm ci
- run: npm run build
- name: semantic release
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}