Compare commits

..

1 Commits

Author SHA1 Message Date
b20b27fcb2 Add a CI workflow for lint and build (#4)
All checks were successful
Lint and Build / lint-and-build (push) Successful in 36s
Part of https://plan.wireit.in/deepstack/browse/VUL-309

Co-authored-by: AdityaSalunkhe21 <adityasalunkhe2204@gmail.com>
Co-authored-by: Pranav <jadhavpranav89@gmail.com>
Co-authored-by: Shreerang Kale <shree@deepstacksoft.com>
Reviewed-on: #4
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2025-12-31 10:45:39 +00:00
2 changed files with 4 additions and 10 deletions

View File

@ -2,8 +2,8 @@ name: Lint and Build
on:
push:
# branches:
# - main
branches:
- main
paths:
- 'src/**'
pull_request:
@ -15,19 +15,14 @@ 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 ${{ matrix.node-version }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: '22.x'
- name: Enable corepack and yarn
run: corepack enable

View File

@ -4,7 +4,6 @@ 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');