summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authormisskey-release-bot[bot] <157398866+misskey-release-bot[bot]@users.noreply.github.com>2025-01-28 12:29:14 +0000
committerGitHub <noreply@github.com>2025-01-28 12:29:14 +0000
commit36880493cb16e87feb83484498fcd3cc871eb68d (patch)
tree277127cf0e6c6990577935c5bb5dff9269c605b0 /.github
parentMerge pull request #14924 from misskey-dev/develop (diff)
parentRelease: 2025.1.0 (diff)
downloadmisskey-36880493cb16e87feb83484498fcd3cc871eb68d.tar.gz
misskey-36880493cb16e87feb83484498fcd3cc871eb68d.tar.bz2
misskey-36880493cb16e87feb83484498fcd3cc871eb68d.zip
Merge pull request #15279 from misskey-dev/develop
Release: 2025.1.0
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/01_bug-report.yml4
-rw-r--r--.github/workflows/api-misskey-js.yml2
-rw-r--r--.github/workflows/changelog-check.yml2
-rw-r--r--.github/workflows/check-misskey-js-autogen.yml2
-rw-r--r--.github/workflows/get-api-diff.yml2
-rw-r--r--.github/workflows/lint.yml8
-rw-r--r--.github/workflows/locale.yml2
-rw-r--r--.github/workflows/on-release-created.yml2
-rw-r--r--.github/workflows/release-with-ready.yml47
-rw-r--r--.github/workflows/storybook.yml4
-rw-r--r--.github/workflows/test-backend.yml23
-rw-r--r--.github/workflows/test-federation.yml18
-rw-r--r--.github/workflows/test-frontend.yml8
-rw-r--r--.github/workflows/test-misskey-js.yml3
-rw-r--r--.github/workflows/test-production.yml3
-rw-r--r--.github/workflows/validate-api-json.yml4
16 files changed, 63 insertions, 71 deletions
diff --git a/.github/ISSUE_TEMPLATE/01_bug-report.yml b/.github/ISSUE_TEMPLATE/01_bug-report.yml
index 315e712c30..077855b5bf 100644
--- a/.github/ISSUE_TEMPLATE/01_bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/01_bug-report.yml
@@ -54,7 +54,7 @@ body:
* Model and OS of the device(s): MacBook Pro (14inch, 2021), macOS Ventura 13.4
* Browser: Chrome 113.0.5672.126
* Server URL: misskey.example.com
- * Misskey: 2024.x.x
+ * Misskey: 2025.x.x
value: |
* Model and OS of the device(s):
* Browser:
@@ -74,7 +74,7 @@ body:
Examples:
* Installation Method or Hosting Service: docker compose, k8s/docker, systemd, "Misskey install shell script", development environment
- * Misskey: 2024.x.x
+ * Misskey: 2025.x.x
* Node: 20.x.x
* PostgreSQL: 15.x.x
* Redis: 7.x.x
diff --git a/.github/workflows/api-misskey-js.yml b/.github/workflows/api-misskey-js.yml
index 8380a3bb23..e21738c4f4 100644
--- a/.github/workflows/api-misskey-js.yml
+++ b/.github/workflows/api-misskey-js.yml
@@ -21,7 +21,7 @@ jobs:
- run: corepack enable
- name: Setup Node.js
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
diff --git a/.github/workflows/changelog-check.yml b/.github/workflows/changelog-check.yml
index 44cc1a04f2..fdca621cfc 100644
--- a/.github/workflows/changelog-check.yml
+++ b/.github/workflows/changelog-check.yml
@@ -14,7 +14,7 @@ jobs:
- name: Checkout head
uses: actions/checkout@v4.1.1
- name: Setup Node.js
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
diff --git a/.github/workflows/check-misskey-js-autogen.yml b/.github/workflows/check-misskey-js-autogen.yml
index f26c9a4d45..bb15541941 100644
--- a/.github/workflows/check-misskey-js-autogen.yml
+++ b/.github/workflows/check-misskey-js-autogen.yml
@@ -29,7 +29,7 @@ jobs:
- name: setup node
id: setup-node
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: pnpm
diff --git a/.github/workflows/get-api-diff.yml b/.github/workflows/get-api-diff.yml
index 972619ec60..46c726b986 100644
--- a/.github/workflows/get-api-diff.yml
+++ b/.github/workflows/get-api-diff.yml
@@ -33,7 +33,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 90eb268dda..9785bb5744 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -37,7 +37,7 @@ jobs:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v4
- - uses: actions/setup-node@v4.0.4
+ - uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
@@ -68,14 +68,14 @@ jobs:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v4
- - uses: actions/setup-node@v4.0.4
+ - uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
- run: corepack enable
- run: pnpm i --frozen-lockfile
- name: Restore eslint cache
- uses: actions/cache@v4.1.0
+ uses: actions/cache@v4.2.0
with:
path: ${{ env.eslint-cache-path }}
key: eslint-${{ env.eslint-cache-version }}-${{ matrix.workspace }}-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ github.ref_name }}-${{ github.sha }}
@@ -98,7 +98,7 @@ jobs:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v4
- - uses: actions/setup-node@v4.0.4
+ - uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
diff --git a/.github/workflows/locale.yml b/.github/workflows/locale.yml
index 6bc8860a11..2eb4ca3ad9 100644
--- a/.github/workflows/locale.yml
+++ b/.github/workflows/locale.yml
@@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
submodules: true
- uses: pnpm/action-setup@v4
- - uses: actions/setup-node@v4.0.4
+ - uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
diff --git a/.github/workflows/on-release-created.yml b/.github/workflows/on-release-created.yml
index 6258fa693a..8ca2ed9efb 100644
--- a/.github/workflows/on-release-created.yml
+++ b/.github/workflows/on-release-created.yml
@@ -26,7 +26,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/release-with-ready.yml b/.github/workflows/release-with-ready.yml
deleted file mode 100644
index 585375c20e..0000000000
--- a/.github/workflows/release-with-ready.yml
+++ /dev/null
@@ -1,47 +0,0 @@
-name: "Release Manager: release RC when ready for review"
-
-on:
- pull_request:
- types: [ready_for_review]
-
-env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
-permissions:
- contents: write
- issues: write
- pull-requests: write
-
-jobs:
- check:
- runs-on: ubuntu-latest
- outputs:
- head: ${{ steps.get_pr.outputs.head }}
- base: ${{ steps.get_pr.outputs.base }}
- steps:
- - uses: actions/checkout@v4
- # PR情報を取得
- - name: Get PR
- run: |
- pr_json=$(gh pr view "$PR_NUMBER" --json isDraft,headRefName,baseRefName)
- echo "head=$(echo $pr_json | jq -r '.headRefName')" >> $GITHUB_OUTPUT
- echo "base=$(echo $pr_json | jq -r '.baseRefName')" >> $GITHUB_OUTPUT
- id: get_pr
- env:
- PR_NUMBER: ${{ github.event.pull_request.number }}
- release:
- uses: misskey-dev/release-manager-actions/.github/workflows/create-prerelease.yml@v2
- needs: check
- if: needs.check.outputs.head == github.event.repository.default_branch && needs.check.outputs.base == vars.STABLE_BRANCH
- with:
- pr_number: ${{ github.event.pull_request.number }}
- user: 'github-actions[bot]'
- package_jsons_to_rewrite: ${{ vars.PACKAGE_JSONS_TO_REWRITE }}
- use_external_app_to_release: ${{ vars.USE_RELEASE_APP == 'true' }}
- indent: ${{ vars.INDENT }}
- draft_prerelease_channel: alpha
- ready_start_prerelease_channel: beta
- reset_number_on_channel_change: true
- secrets:
- RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
- RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml
index c02f38ee0b..dfba46a8c8 100644
--- a/.github/workflows/storybook.yml
+++ b/.github/workflows/storybook.yml
@@ -15,6 +15,8 @@ on:
jobs:
build:
+ # chromatic is not likely to be available for fork repositories, so we disable for fork repositories.
+ if: github.repository == 'misskey-dev/misskey'
runs-on: ubuntu-latest
env:
@@ -41,7 +43,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js 20.x
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version-file: '.node-version'
cache: 'pnpm'
diff --git a/.github/workflows/test-backend.yml b/.github/workflows/test-backend.yml
index fc614dcf85..debfe24819 100644
--- a/.github/workflows/test-backend.yml
+++ b/.github/workflows/test-backend.yml
@@ -10,14 +10,17 @@ on:
# for permissions
- packages/misskey-js/**
- .github/workflows/test-backend.yml
+ - .github/misskey/test.yml
pull_request:
paths:
- packages/backend/**
# for permissions
- packages/misskey-js/**
- .github/workflows/test-backend.yml
+ - .github/misskey/test.yml
jobs:
unit:
+ name: Unit tests (backend)
runs-on: ubuntu-latest
strategy:
@@ -44,9 +47,22 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install FFmpeg
- uses: FedericoCarboni/setup-ffmpeg@v3
+ run: |
+ for i in {1..3}; do
+ echo "Attempt $i: Installing FFmpeg..."
+ curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
+ tar -xf ffmpeg.tar.xz && \
+ mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \
+ mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \
+ rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \
+ break || sleep 10
+ if [ $i -eq 3 ]; then
+ echo "Failed to install FFmpeg after 3 attempts"
+ exit 1
+ fi
+ done
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
@@ -67,6 +83,7 @@ jobs:
files: ./packages/backend/coverage/coverage-final.json
e2e:
+ name: E2E tests (backend)
runs-on: ubuntu-latest
strategy:
@@ -93,7 +110,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/test-federation.yml b/.github/workflows/test-federation.yml
index e89cdcb091..c4546a0590 100644
--- a/.github/workflows/test-federation.yml
+++ b/.github/workflows/test-federation.yml
@@ -17,6 +17,7 @@ on:
jobs:
test:
+ name: Federation test
runs-on: ubuntu-latest
strategy:
matrix:
@@ -28,9 +29,22 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install FFmpeg
- uses: FedericoCarboni/setup-ffmpeg@v3
+ run: |
+ for i in {1..3}; do
+ echo "Attempt $i: Installing FFmpeg..."
+ curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
+ tar -xf ffmpeg.tar.xz && \
+ mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \
+ mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \
+ rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \
+ break || sleep 10
+ if [ $i -eq 3 ]; then
+ echo "Failed to install FFmpeg after 3 attempts"
+ exit 1
+ fi
+ done
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.3
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml
index 6128abb502..51e0b0e8b8 100644
--- a/.github/workflows/test-frontend.yml
+++ b/.github/workflows/test-frontend.yml
@@ -12,6 +12,7 @@ on:
# for e2e
- packages/backend/**
- .github/workflows/test-frontend.yml
+ - .github/misskey/test.yml
pull_request:
paths:
- packages/frontend/**
@@ -20,8 +21,10 @@ on:
# for e2e
- packages/backend/**
- .github/workflows/test-frontend.yml
+ - .github/misskey/test.yml
jobs:
vitest:
+ name: Unit tests (frontend)
runs-on: ubuntu-latest
strategy:
@@ -35,7 +38,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
@@ -56,6 +59,7 @@ jobs:
files: ./packages/frontend/coverage/coverage-final.json
e2e:
+ name: E2E tests (frontend)
runs-on: ubuntu-latest
strategy:
@@ -90,7 +94,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/test-misskey-js.yml b/.github/workflows/test-misskey-js.yml
index c7bb0753a8..c72a2470a4 100644
--- a/.github/workflows/test-misskey-js.yml
+++ b/.github/workflows/test-misskey-js.yml
@@ -16,6 +16,7 @@ on:
- .github/workflows/test-misskey-js.yml
jobs:
test:
+ name: Unit tests (misskey.js)
runs-on: ubuntu-latest
@@ -31,7 +32,7 @@ jobs:
- run: corepack enable
- name: Setup Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/test-production.yml b/.github/workflows/test-production.yml
index 11a95ca82f..4a55f4803c 100644
--- a/.github/workflows/test-production.yml
+++ b/.github/workflows/test-production.yml
@@ -12,6 +12,7 @@ env:
jobs:
production:
+ name: Production build
runs-on: ubuntu-latest
strategy:
@@ -25,7 +26,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
diff --git a/.github/workflows/validate-api-json.yml b/.github/workflows/validate-api-json.yml
index 835b2a9a24..0d254898f8 100644
--- a/.github/workflows/validate-api-json.yml
+++ b/.github/workflows/validate-api-json.yml
@@ -1,4 +1,4 @@
-name: Test (backend)
+name: api.json validation
on:
push:
@@ -27,7 +27,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v4.0.4
+ uses: actions/setup-node@v4.1.0
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'