Skip to content

Commit

Permalink
add semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
saikrishna321 committed Aug 8, 2024
1 parent 47ec557 commit 14febcd
Show file tree
Hide file tree
Showing 5 changed files with 20,295 additions and 11,177 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/npm-publish.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Conventional Commits
on:
pull_request:


jobs:
lint:
name: https://www.conventionalcommits.org
runs-on: ubuntu-latest
steps:
- uses: beemojs/conventional-pr-action@v3
with:
config-preset: angular
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on:
workflow_dispatch:
push:
branches: [ main ]

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- run: npm install --no-package-lock
name: Install dependencies
- run: npm run build
name: Build
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}
name: Release
Loading

0 comments on commit 14febcd

Please sign in to comment.