Compare commits

..

6 Commits

Author SHA1 Message Date
75de69770e Test lint CI
All checks were successful
Lint and Build / lint-and-build (18.x) (push) Successful in 39s
2025-12-29 14:36:44 +05:30
d051054aa4 Remove any type usage
All checks were successful
Lint and Build / lint-and-build (18.x) (pull_request) Successful in 36s
2025-12-29 12:33:54 +05:30
df8fade1a6 Remove unnecessary workflow 2025-12-29 10:30:56 +05:30
02235b12a9 Add lint and build gitea workflow 2025-12-23 18:17:03 +05:30
AdityaSalunkhe21
4e73b98a17 Add lint and build github workflow 2025-12-19 13:52:25 +05:30
AdityaSalunkhe21
47af6e0bcf Fix lint and type errors 2025-12-19 13:50:52 +05:30
2 changed files with 10 additions and 4 deletions

View File

@ -2,8 +2,8 @@ name: Lint and Build
on:
push:
branches:
- main
# branches:
# - main
paths:
- 'src/**'
pull_request:
@ -15,14 +15,19 @@ on:
jobs:
lint-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: '22.x'
node-version: ${{ matrix.node-version }}
- name: Enable corepack and yarn
run: corepack enable

View File

@ -4,6 +4,7 @@ import { readFileSync } from 'fs';
import { join } from 'path';
import { resolvers } from './resolvers';
// Test lint CI
async function startServer () {
const typeDefs = readFileSync(join(__dirname, 'schema.graphql'), 'utf8');