forked from misskey-dev/misskey
-
Notifications
You must be signed in to change notification settings - Fork 11
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 #535 from update-host
- Loading branch information
Showing
2,161 changed files
with
112,455 additions
and
29,296 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
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,7 +13,6 @@ packages/*/node_modules | |
redis/ | ||
keydb/ | ||
files/ | ||
misskey-assets/ | ||
fluent-emojis/ | ||
.pnp.* | ||
|
||
|
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 |
---|---|---|
@@ -1,21 +1,34 @@ | ||
'packages/backend': | ||
- packages/backend/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/backend/**/*'] | ||
|
||
'packages/backend:test': | ||
- packages/backend/test/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/backend/test/**/*'] | ||
|
||
'packages/frontend': | ||
- packages/frontend/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/frontend/**/*'] | ||
|
||
'packages/frontend:test': | ||
- cypress/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['cypress/**/*'] | ||
|
||
'packages/sw': | ||
- packages/sw/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/sw/**/*'] | ||
|
||
'packages/misskey-js': | ||
- packages/misskey-js/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/misskey-js/**/*'] | ||
|
||
'packages/misskey-js:test': | ||
- packages/misskey-js/test/**/* | ||
- packages/misskey-js/test-d/**/* | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['packages/misskey-js/test/**/*', 'packages/misskey-js/test-d/**/*'] |
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,6 +1,12 @@ | ||
name: API report (misskey.js) | ||
|
||
on: [push, pull_request] | ||
on: | ||
push: | ||
paths: | ||
- packages/misskey-js/** | ||
pull_request: | ||
paths: | ||
- packages/misskey-js/** | ||
|
||
jobs: | ||
report: | ||
|
@@ -14,7 +20,7 @@ jobs: | |
- run: corepack enable | ||
|
||
- name: Setup Node.js | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Check Misskey JS version | ||
|
||
on: | ||
push: | ||
branches: [ io ] | ||
paths: | ||
- packages/misskey-js/package.json | ||
- package.json | ||
pull_request: | ||
paths: | ||
- packages/misskey-js/package.json | ||
- package.json | ||
|
||
jobs: | ||
check-version: | ||
# ルートの package.json と packages/misskey-js/package.json のバージョンが一致しているかを確認する | ||
name: Check version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Check version | ||
run: | | ||
if [ "$(jq -r '.version' package.json)" != "$(jq -r '.version' packages/misskey-js/package.json)" ]; then | ||
echo "Version mismatch!" | ||
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Publish Docker image (beta) | ||
|
||
on: | ||
push: | ||
branches: | ||
- beta | ||
tags: | ||
- "**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to GitHub Container Registry | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'MisskeyIO/misskey' | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v4 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
platforms: linux/amd64 | ||
- name: Docker meta | ||
id: meta | ||
uses: docker/metadata-action@v5 | ||
with: | ||
images: ghcr.io/misskeyio/misskey | ||
- name: Log in to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Prepare image tags | ||
run: | | ||
echo "FORMATTED_BRANCH_NAME=$(echo ${{ github.ref_name }} | sed -e 's/\//-/g' )" >> $GITHUB_ENV | ||
- name: Build and Push to GitHub Container Registry | ||
uses: docker/build-push-action@v5 | ||
with: | ||
builder: ${{ steps.buildx.outputs.name }} | ||
context: . | ||
push: true | ||
platforms: ${{ steps.buildx.outputs.platforms }} | ||
provenance: false | ||
labels: ${{ env.FORMATTED_BRANCH_NAME }} | ||
cache-from: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache | ||
cache-to: type=registry,ref=ghcr.io/misskeyio/misskey:io-buildcache,mode=max | ||
tags: | | ||
ghcr.io/misskeyio/misskey:beta | ||
ghcr.io/misskeyio/misskey:${{ env.FORMATTED_BRANCH_NAME }} |
Oops, something went wrong.