-
-
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 branch 'develop' into fix-14125
- Loading branch information
Showing
94 changed files
with
1,766 additions
and
937 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# misskey settings | ||
# MISSKEY_URL=https://example.tld/ | ||
|
||
# db settings | ||
POSTGRES_PASSWORD=example-misskey-pass | ||
# DATABASE_PASSWORD=${POSTGRES_PASSWORD} | ||
POSTGRES_USER=example-misskey-user | ||
# DATABASE_USER=${POSTGRES_USER} | ||
POSTGRES_DB=misskey | ||
# DATABASE_DB=${POSTGRES_DB} | ||
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}" |
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 |
---|---|---|
|
@@ -4,10 +4,11 @@ on: | |
push: | ||
paths: | ||
- packages/misskey-js/** | ||
- .github/workflows/api-misskey-js.yml | ||
pull_request: | ||
paths: | ||
- packages/misskey-js/** | ||
|
||
- .github/workflows/api-misskey-js.yml | ||
jobs: | ||
report: | ||
|
||
|
@@ -20,7 +21,7 @@ jobs: | |
- run: corepack enable | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- name: Checkout head | ||
uses: actions/[email protected] | ||
- name: Setup Node.js | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
|
||
|
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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
|
||
- name: setup node | ||
id: setup-node | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: pnpm | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
paths: | ||
- packages/backend/** | ||
- .github/workflows/get-api-diff.yml | ||
|
||
- .github/workflows/get-api-diff.yml | ||
jobs: | ||
get-from-misskey: | ||
runs-on: ubuntu-latest | ||
|
@@ -34,7 +34,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -11,14 +11,15 @@ on: | |
- packages/sw/** | ||
- packages/misskey-js/** | ||
- packages/shared/eslint.config.js | ||
- .github/workflows/lint.yml | ||
pull_request: | ||
paths: | ||
- packages/backend/** | ||
- packages/frontend/** | ||
- packages/sw/** | ||
- packages/misskey-js/** | ||
- packages/shared/eslint.config.js | ||
|
||
- .github/workflows/lint.yml | ||
jobs: | ||
pnpm_install: | ||
runs-on: ubuntu-latest | ||
|
@@ -28,7 +29,7 @@ jobs: | |
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
|
@@ -39,6 +40,8 @@ jobs: | |
needs: [pnpm_install] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
env: | ||
eslint-cache-version: v1 | ||
strategy: | ||
matrix: | ||
workspace: | ||
|
@@ -52,13 +55,20 @@ jobs: | |
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm --filter ${{ matrix.workspace }} run eslint | ||
- name: Restore eslint cache | ||
uses: actions/[email protected] | ||
with: | ||
path: node_modules/.cache/eslint | ||
key: eslint-${{ env.eslint-cache-version }}-${{ hashFiles('/pnpm-lock.yaml') }}-${{ github.ref_name }}-${{ github.sha }} | ||
restore-keys: | | ||
eslint-${{ env.eslint-cache-version }}-${{ hashFiles('/pnpm-lock.yaml') }}- | ||
- run: pnpm --filter ${{ matrix.workspace }} run eslint --cache --cache-location node_modules/.cache/eslint --cache-strategy content | ||
|
||
typecheck: | ||
needs: [pnpm_install] | ||
|
@@ -75,7 +85,7 @@ jobs: | |
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -4,10 +4,11 @@ on: | |
push: | ||
paths: | ||
- locales/** | ||
- .github/workflows/locale.yml | ||
pull_request: | ||
paths: | ||
- locales/** | ||
|
||
- .github/workflows/locale.yml | ||
jobs: | ||
locale_verify: | ||
runs-on: ubuntu-latest | ||
|
@@ -18,7 +19,7 @@ jobs: | |
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v4 | ||
- uses: actions/[email protected].2 | ||
- uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js 20.x | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version-file: '.node-version' | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -9,12 +9,13 @@ on: | |
- packages/backend/** | ||
# for permissions | ||
- packages/misskey-js/** | ||
- .github/workflows/test-backend.yml | ||
pull_request: | ||
paths: | ||
- packages/backend/** | ||
# for permissions | ||
- packages/misskey-js/** | ||
|
||
- .github/workflows/test-backend.yml | ||
jobs: | ||
unit: | ||
runs-on: ubuntu-latest | ||
|
@@ -45,7 +46,7 @@ jobs: | |
- name: Install FFmpeg | ||
uses: FedericoCarboni/setup-ffmpeg@v3 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
@@ -92,7 +93,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -11,15 +11,15 @@ on: | |
- packages/misskey-js/** | ||
# for e2e | ||
- packages/backend/** | ||
|
||
- .github/workflows/test-frontend.yml | ||
pull_request: | ||
paths: | ||
- packages/frontend/** | ||
# for permissions | ||
- packages/misskey-js/** | ||
# for e2e | ||
- packages/backend/** | ||
|
||
- .github/workflows/test-frontend.yml | ||
jobs: | ||
vitest: | ||
runs-on: ubuntu-latest | ||
|
@@ -35,7 +35,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
@@ -90,7 +90,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -8,11 +8,12 @@ on: | |
branches: [ develop ] | ||
paths: | ||
- packages/misskey-js/** | ||
- .github/workflows/test-misskey-js.yml | ||
pull_request: | ||
branches: [ develop ] | ||
paths: | ||
- packages/misskey-js/** | ||
|
||
- .github/workflows/test-misskey-js.yml | ||
jobs: | ||
test: | ||
|
||
|
@@ -30,7 +31,7 @@ jobs: | |
- run: corepack enable | ||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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 |
---|---|---|
|
@@ -7,10 +7,11 @@ on: | |
- develop | ||
paths: | ||
- packages/backend/** | ||
- .github/workflows/validate-api-json.yml | ||
pull_request: | ||
paths: | ||
- packages/backend/** | ||
|
||
- .github/workflows/validate-api-json.yml | ||
jobs: | ||
validate-api-json: | ||
runs-on: ubuntu-latest | ||
|
@@ -26,7 +27,7 @@ jobs: | |
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
cache: 'pnpm' | ||
|
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.