From 18a17a715b991adfa7f14f27a83c841a3af69a5c Mon Sep 17 00:00:00 2001 From: maxmwang Date: Wed, 5 Apr 2023 16:42:25 -0700 Subject: [PATCH] Move .github to root --- backend/.github/workflows/gen.yaml | 36 ----------------------------- backend/.github/workflows/lint.yaml | 20 ---------------- 2 files changed, 56 deletions(-) delete mode 100644 backend/.github/workflows/gen.yaml delete mode 100644 backend/.github/workflows/lint.yaml diff --git a/backend/.github/workflows/gen.yaml b/backend/.github/workflows/gen.yaml deleted file mode 100644 index 97b45c4c2..000000000 --- a/backend/.github/workflows/gen.yaml +++ /dev/null @@ -1,36 +0,0 @@ -name: - Codegen Test - -on: - push: - pull_request: - -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 - diff --git a/backend/.github/workflows/lint.yaml b/backend/.github/workflows/lint.yaml deleted file mode 100644 index cd29c1776..000000000 --- a/backend/.github/workflows/lint.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: - Linting - -on: - push: - pull_request: - -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