Compare commits
1 Commits
sk-test-ci
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b20b27fcb2 |
@ -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
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user