Compare commits

...

4 Commits

Author SHA1 Message Date
2d3f9f153f Test lint CI
All checks were successful
Lint and Build / Run lint and build checks (push) Successful in 39s
2025-12-29 14:38:21 +05:30
8caeb8c7ab Remove unnecessary workflow 2025-12-29 11:15:03 +05:30
90e3c54e6d Add lint and build gitea workflow 2025-12-24 16:52:44 +05:30
AdityaSalunkhe21
8616cf0608 Add lint and build github workflow 2025-12-18 18:22:23 +05:30
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,37 @@
name: Lint and Build
on:
pull_request:
branches: [main]
paths:
- 'src/**'
push:
# branches: [main]
paths:
- 'src/**'
jobs:
lint-and-build:
name: Run lint and build checks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Enable corepack and yarn
run: corepack enable
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run ESLint
run: yarn lint
- name: Run build
run: yarn build

View File

@ -33,6 +33,7 @@ interface Config {
}
}
// Test lint CI
async function main (): Promise<void> {
// Read and parse the configuration
const configFile = fs.readFileSync(CONFIG_PATH, 'utf-8');