-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10342 from misskey-dev/develop
Release: 13.10.0
- Loading branch information
Showing
330 changed files
with
8,234 additions
and
2,409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- ℹ お読みください / README | ||
PRありがとうございます! PRを作成する前に、コントリビューションガイドをご確認ください: | ||
Thank you for your PR! Before creating a PR, please check the contribution guide: | ||
https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md | ||
--> | ||
|
||
## What | ||
<!-- このPRで何をしたのか? どう変わるのか? --> | ||
<!-- What did you do with this PR? How will it change things? --> | ||
|
||
## Why | ||
<!-- なぜそうするのか? どういう意図なのか? 何が困っているのか? --> | ||
<!-- Why do you do it? What are your intentions? What is the problem? --> | ||
|
||
## Additional info (optional) | ||
<!-- テスト観点など --> | ||
<!-- Test perspective, etc --> | ||
|
||
## Checklist | ||
- [ ] Read the [contribution guide](https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md) | ||
- [ ] Test working in a local environment | ||
- [ ] (If needed) Update CHANGELOG.md | ||
- [ ] (If possible) Add tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: Test (backend) | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
jest: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
services: | ||
postgres: | ||
image: postgres:13 | ||
ports: | ||
- 54312:5432 | ||
env: | ||
POSTGRES_DB: test-misskey | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
redis: | ||
image: redis:6 | ||
ports: | ||
- 56312:6379 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
submodules: true | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected] | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- name: Check pnpm-lock.yaml | ||
run: git diff --exit-code pnpm-lock.yaml | ||
- name: Copy Configure | ||
run: cp .github/misskey/test.yml .config | ||
- name: Build | ||
run: pnpm build | ||
- name: Test | ||
run: pnpm jest-and-coverage | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/backend/coverage/coverage-final.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test | ||
name: Test (frontend) | ||
|
||
on: | ||
push: | ||
|
@@ -8,26 +8,13 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
jest: | ||
vitest: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
services: | ||
postgres: | ||
image: postgres:13 | ||
ports: | ||
- 54312:5432 | ||
env: | ||
POSTGRES_DB: test-misskey | ||
POSTGRES_HOST_AUTH_METHOD: trust | ||
redis: | ||
image: redis:6 | ||
ports: | ||
- 56312:6379 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -51,12 +38,12 @@ jobs: | |
- name: Build | ||
run: pnpm build | ||
- name: Test | ||
run: pnpm jest-and-coverage | ||
run: pnpm --filter frontend test-and-coverage | ||
- name: Upload Coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./packages/backend/coverage/coverage-final.json | ||
files: ./packages/frontend/coverage/coverage-final.json | ||
|
||
e2e: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.