Skip to content

added Contributor Guidelines in readme.md #2

added Contributor Guidelines in readme.md

added Contributor Guidelines in readme.md #2

Workflow file for this run

name: Lint and Format Check
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
inputs:
target_branch:
description: 'Target branch to run the workflow on'
required: true
jobs:
lint_and_format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.target_branch }}
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Lint and Format Check
run: npm run lint && npm run format