Skip to content

Commit

Permalink
Merge branch 'gql' into kurt-gql-grade-data-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang authored Jul 22, 2024
2 parents 849661d + 48acfe9 commit 5c34c32
Show file tree
Hide file tree
Showing 550 changed files with 19,270 additions and 30,056 deletions.
52 changes: 25 additions & 27 deletions .github/workflows/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name:
Codegen Test
name: Codegen Test

on:
push:
Expand All @@ -9,28 +8,27 @@ jobs:
Codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12

- name: npm install
run: npm install

- name: gen
run: npm run generate

- name: test diff
uses: tj-actions/verify-changed-files@v14
id: test-diff
with:
files: |
**/generated-types/*.ts
- if: steps.test-diff.outputs.files_changed == 'true'
run: |
echo "Run 'npm run generate' to fix!"
exit 1
- uses: actions/checkout@v2

- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12

- name: npm install and gen
working-directory: ./backend
run: |
npm install
npm run generate
- name: test diff
uses: tj-actions/verify-changed-files@v14
id: test-diff
with:
files: |
./backend/**/generated-types/*.ts
- if: steps.test-diff.outputs.files_changed == 'true'
run: |
echo "Run 'npm run generate' to fix!"
exit 1
24 changes: 12 additions & 12 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name:
Linting

name: Linting

on:
push:
pull_request:
Expand All @@ -9,12 +8,13 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install
run: npm install
- name: lint
run: npm run lint
- uses: actions/checkout@v1
- name: install node v12
uses: actions/setup-node@v1
with:
node-version: 12
- name: npm install and lint
working-directory: ./backend
run: |
npm install
npm run lint
96 changes: 0 additions & 96 deletions .gitlab-ci.yml

This file was deleted.

24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

Loading

0 comments on commit 5c34c32

Please sign in to comment.