Skip to content

Merge pull request #7 from jonluca/dependabot/npm_and_yarn/word-wrap-… #19

Merge pull request #7 from jonluca/dependabot/npm_and_yarn/word-wrap-…

Merge pull request #7 from jonluca/dependabot/npm_and_yarn/word-wrap-… #19

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@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- run: yarn install --frozen-lockfile
- run: yarn build
- run: npx semantic-release --branches main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}