Skip to content

Commit f59bfca

Browse files
committed
Adding GitHub Action for building project
1 parent fe4a215 commit f59bfca

File tree

3 files changed

+29
-88
lines changed

3 files changed

+29
-88
lines changed

.circleci/config.yml

Lines changed: 0 additions & 86 deletions
This file was deleted.

.github/workflows/node.js.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Node.js CI
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Setup Node.js 16
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 16
19+
cache: 'npm'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run linters
25+
run: npm run lint
26+
27+
- name: Build project
28+
run: npm run build

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"name": "postgraphile-remove-foreign-key-fields-plugin",
2+
"name": "postgraphile-plugin-remove-foreign-key-fields",
33
"version": "1.2.0",
44
"description": "PostGraphile plugin that removes all foreign key fields from the GraphQL schema while still allowing foreign relationships to be created. Primary key fields are not removed from the GraphQL schema.",
55
"author": "John Ciprian",
66
"license": "MIT",
77
"scripts": {
88
"lint": "eslint src --ext .ts",
9-
"test": "scripts/test",
109
"build": "tsc --declaration"
1110
},
1211
"repository": {

0 commit comments

Comments
 (0)