forked from misskey-dev/misskey
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: swcにしたためtypecheckは別途実施 * 🎨 * Update package.json * マイグレーションが失敗することがあるのを修正 * refactor ci * use tsc for build Windowsだとエラーが出るため * feat: swc build in windows (misskey-dev#10032) * feat: add optional swc * fix: windowsで動かない現象を修正 * fix: fix swc path alias * fix: docker build時に`Host key verification failed`と言われてgitリポジトリからパッケージをインストールできないのでssh -> htpsに変更 * use swc * chore(client): tweak custom emoji size * enhance: make pwa icon maskable (misskey-dev#10033) * 🎨 * feat(server): add @swc/core-android-arm64 to optional (misskey-dev#10034) * feat: add optional swc * fix: windowsで動かない現象を修正 * fix: fix swc path alias * fix: docker build時に`Host key verification failed`と言われてgitリポジトリからパッケージをインストールできないのでssh -> htpsに変更 * feat(server): add @swc/core-android-arm64 to optional * fix: conflict * Update package.json * chore(backend): fix indent * Update CHANGELOG.md * compress png --------- Co-authored-by: CaffeinePower <[email protected]> Co-authored-by: Shogo Sensui <[email protected]> Co-authored-by: tamaina <[email protected]>
- Loading branch information
Showing
662 changed files
with
6,790 additions
and
9,692 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
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
*.glb -diff -text | ||
*.blend -diff -text | ||
*.afdesign -diff -text | ||
* text=auto eol=lf |
File renamed without changes.
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,17 @@ | ||
<!-- ℹ お読みください / 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 --> |
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,19 @@ | ||
## Summary | ||
This is a release PR. | ||
|
||
For more information on the release instructions, please see: | ||
https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md#release | ||
|
||
## For reviewers | ||
- CHANGELOGに抜け漏れは無いか | ||
- バージョンの上げ方は適切か | ||
- 他にこのリリースに含めなければならない変更は無いか | ||
- 全体的な変更内容を俯瞰し問題は無いか | ||
- レビューされていないコミットがある場合は、それが問題ないか | ||
|
||
などを確認し、リリースする準備が整っていると思われる場合は approve してください。 | ||
|
||
## Checklist | ||
- [ ] package.jsonのバージョンが正しく更新されている | ||
- [ ] CHANGELOGが過不足無く更新されている | ||
- [ ] CIが全て通っている |
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,18 +1,18 @@ | ||
name: Check copyright year | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
check_copyright_year: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- run: | | ||
if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then | ||
echo "Please change copyright year!" | ||
exit 1 | ||
fi | ||
name: Check copyright year | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
check_copyright_year: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- run: | | ||
if [ "$(grep Copyright COPYING | sed -e 's/.*2014-\([0-9]*\) .*/\1/g')" -ne "$(date +%Y)" ]; then | ||
echo "Please change copyright year!" | ||
exit 1 | ||
fi |
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 |
---|---|---|
|
@@ -15,7 +15,10 @@ jobs: | |
- name: Check out the repo | ||
uses: actions/[email protected] | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/[email protected] | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
|
@@ -27,10 +30,13 @@ jobs: | |
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and Push to Docker Hub | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v4 | ||
with: | ||
builder: ${{ steps.buildx.outputs.name }} | ||
context: . | ||
push: true | ||
platforms: ${{ steps.buildx.outputs.platforms }} | ||
provenance: false | ||
tags: misskey/misskey:develop | ||
labels: develop | ||
cache-from: type=gha | ||
|
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 |
---|---|---|
|
@@ -13,6 +13,11 @@ jobs: | |
steps: | ||
- name: Check out the repo | ||
uses: actions/[email protected] | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/[email protected] | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
|
@@ -31,9 +36,14 @@ jobs: | |
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- name: Build and Push to Docker Hub | ||
uses: docker/build-push-action@v3 | ||
uses: docker/build-push-action@v4 | ||
with: | ||
builder: ${{ steps.buildx.outputs.name }} | ||
context: . | ||
push: true | ||
platforms: ${{ steps.buildx.outputs.platforms }} | ||
provenance: false | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max |
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,54 +1,79 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
pnpm_install: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
|
||
lint: | ||
needs: [pnpm_install] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
workspace: | ||
- backend | ||
- frontend | ||
- sw | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm --filter ${{ matrix.workspace }} run lint | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
pull_request: | ||
|
||
jobs: | ||
pnpm_install: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
|
||
lint: | ||
needs: [pnpm_install] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
workspace: | ||
- backend | ||
- frontend | ||
- sw | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm --filter ${{ matrix.workspace }} run eslint | ||
|
||
typecheck: | ||
needs: [pnpm_install] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
strategy: | ||
matrix: | ||
workspace: | ||
- backend | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 7 | ||
run_install: false | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: 18.x | ||
cache: 'pnpm' | ||
- run: corepack enable | ||
- run: pnpm i --frozen-lockfile | ||
- run: pnpm --filter ${{ matrix.workspace }} run typecheck |
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,14 +9,46 @@ name: Destroy preview environment | |
jobs: | ||
destroy-preview-environment: | ||
runs-on: ubuntu-latest | ||
if: github.repository == github.event.pull_request.head.repo.full_name | ||
steps: | ||
- uses: actions/[email protected] | ||
id: check-conclusion | ||
env: | ||
number: ${{ github.event.number }} | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
result-encoding: string | ||
script: | | ||
const { data: pull } = await github.rest.pulls.get({ | ||
...context.repo, | ||
pull_number: process.env.number | ||
}); | ||
const ref = pull.head.sha; | ||
const { data: checks } = await github.rest.checks.listForRef({ | ||
...context.repo, | ||
ref | ||
}); | ||
const check = checks.check_runs.filter(c => c.name === 'deploy-preview-environment'); | ||
if (check.length === 0) { | ||
return; | ||
} | ||
const { data: result } = await github.rest.checks.get({ | ||
...context.repo, | ||
check_run_id: check[0].id, | ||
}); | ||
return result.conclusion; | ||
- name: Context | ||
if: steps.check-conclusion.outputs.result == 'success' | ||
uses: okteto/context@latest | ||
with: | ||
token: ${{ secrets.OKTETO_TOKEN }} | ||
|
||
- name: Destroy preview environment | ||
if: steps.check-conclusion.outputs.result == 'success' | ||
uses: okteto/destroy-preview@latest | ||
with: | ||
name: pr-${{ github.event.number }}-syuilo |
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,9 @@ | ||
{ | ||
"search.exclude": { | ||
"**/node_modules": true | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"files.associations": { | ||
"*.test.ts": "typescript" | ||
} | ||
} |
Oops, something went wrong.