Skip to content

Merge pull request #5 from kamdz/dependabot/npm_and_yarn/commitlint/c… #11

Merge pull request #5 from kamdz/dependabot/npm_and_yarn/commitlint/c…

Merge pull request #5 from kamdz/dependabot/npm_and_yarn/commitlint/c… #11

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v4
- name: Enable corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build package
run: yarn build
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}