From ebaa1960bf711e2f2e63a7a6d0aa816cd7936954 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 26 Aug 2022 01:30:08 -0400 Subject: [PATCH] foundkey-js: remove github files --- .../.github/ISSUE_TEMPLATE/config.yml | 7 --- .../.github/pull_request_template.md | 20 -------- .../foundkey-js/.github/workflows/api.yml | 40 --------------- .../foundkey-js/.github/workflows/lint.yml | 30 ----------- .../foundkey-js/.github/workflows/test.yml | 50 ------------------- packages/foundkey-js/codecov.yml | 2 - 6 files changed, 149 deletions(-) delete mode 100644 packages/foundkey-js/.github/ISSUE_TEMPLATE/config.yml delete mode 100644 packages/foundkey-js/.github/pull_request_template.md delete mode 100644 packages/foundkey-js/.github/workflows/api.yml delete mode 100644 packages/foundkey-js/.github/workflows/lint.yml delete mode 100644 packages/foundkey-js/.github/workflows/test.yml delete mode 100644 packages/foundkey-js/codecov.yml diff --git a/packages/foundkey-js/.github/ISSUE_TEMPLATE/config.yml b/packages/foundkey-js/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 730647b08..000000000 --- a/packages/foundkey-js/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,7 +0,0 @@ -contact_links: - - name: 👪 Misskey Forum - url: https://forum.misskey.io/ - about: Ask questions and share knowledge - - name: 💬 Misskey official Discord - url: https://discord.gg/Wp8gVStHW3 - about: Chat freely about Misskey diff --git a/packages/foundkey-js/.github/pull_request_template.md b/packages/foundkey-js/.github/pull_request_template.md deleted file mode 100644 index c6ad40447..000000000 --- a/packages/foundkey-js/.github/pull_request_template.md +++ /dev/null @@ -1,20 +0,0 @@ - - - -# What - - - -# Why - - - -# Additional info (optional) - - diff --git a/packages/foundkey-js/.github/workflows/api.yml b/packages/foundkey-js/.github/workflows/api.yml deleted file mode 100644 index ad6cefbd7..000000000 --- a/packages/foundkey-js/.github/workflows/api.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: API report - -on: [push, pull_request] - -jobs: - report: - - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: 16.5.0 - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.npm - key: npm-${{ hashFiles('package-lock.json') }} - restore-keys: npm- - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Check files - run: ls built - - - name: API report - run: npm run api-prod - - - name: Show report - if: always() - run: cat temp/misskey-js.api.md diff --git a/packages/foundkey-js/.github/workflows/lint.yml b/packages/foundkey-js/.github/workflows/lint.yml deleted file mode 100644 index cdf6d202e..000000000 --- a/packages/foundkey-js/.github/workflows/lint.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Lint - -on: [push, pull_request] - -jobs: - lint: - - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: 16.5.0 - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.npm - key: npm-${{ hashFiles('package-lock.json') }} - restore-keys: npm- - - - name: Install dependencies - run: npm ci - - - name: Lint - run: npm run lint diff --git a/packages/foundkey-js/.github/workflows/test.yml b/packages/foundkey-js/.github/workflows/test.yml deleted file mode 100644 index 75d38af78..000000000 --- a/packages/foundkey-js/.github/workflows/test.yml +++ /dev/null @@ -1,50 +0,0 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - -name: Test - -on: - push: - branches: [ develop ] - pull_request: - branches: [ develop ] - -jobs: - test: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [16.5.0] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: ~/.npm - key: npm-${{ hashFiles('package-lock.json') }} - restore-keys: npm- - - - name: Install dependencies - run: npm ci - - - name: Build - run: npm run build - - - name: Test - run: npm test - env: - CI: true - - - name: Upload Coverage - uses: codecov/codecov-action@v1 diff --git a/packages/foundkey-js/codecov.yml b/packages/foundkey-js/codecov.yml deleted file mode 100644 index 524298721..000000000 --- a/packages/foundkey-js/codecov.yml +++ /dev/null @@ -1,2 +0,0 @@ -codecov: - token: d55e1270-f20a-4727-aa05-2bd57793315a