Skip to content

Commit

Permalink
Adding GitHub Action for building project
Browse files Browse the repository at this point in the history
  • Loading branch information
johnciprian committed Aug 1, 2022
1 parent fe4a215 commit f59bfca
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 88 deletions.
86 changes: 0 additions & 86 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Node.js CI

on:
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run linters
run: npm run lint

- name: Build project
run: npm run build
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "postgraphile-remove-foreign-key-fields-plugin",
"name": "postgraphile-plugin-remove-foreign-key-fields",
"version": "1.2.0",
"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.",
"author": "John Ciprian",
"license": "MIT",
"scripts": {
"lint": "eslint src --ext .ts",
"test": "scripts/test",
"build": "tsc --declaration"
},
"repository": {
Expand Down

0 comments on commit f59bfca

Please sign in to comment.