mirror of
https://github.com/Snigdha-OS/snigdhaos-assets.git
synced 2025-12-06 08:03:51 +01:00
27 lines
588 B
YAML
27 lines
588 B
YAML
name: Conventional Commit Check
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master # Adjust to match your main branch name
|
|
|
|
jobs:
|
|
check-commits:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: '16'
|
|
|
|
- name: Install dependencies
|
|
run: npm install # Ensure to have npm dependencies set up
|
|
|
|
- name: Run commit script
|
|
run: bash ./push.sh
|
|
|
|
# You can add additional steps here for testing, linting, etc. |