summaryrefslogtreecommitdiff
path: root/.github/workflows/test-federation.yml
diff options
context:
space:
mode:
authorzyoshoka <107108195+zyoshoka@users.noreply.github.com>2025-05-04 14:14:09 +0900
committerGitHub <noreply@github.com>2025-05-04 14:14:09 +0900
commita5fa9a2cef0b76c3e3179ae4afd1616a10d32f35 (patch)
treee9cb89a5c4c528a5810f6bb93d2c33188c48b0e5 /.github/workflows/test-federation.yml
parentfix(frontend): MkFolderのアニメーションにフォールバックを追... (diff)
downloadmisskey-a5fa9a2cef0b76c3e3179ae4afd1616a10d32f35.tar.gz
misskey-a5fa9a2cef0b76c3e3179ae4afd1616a10d32f35.tar.bz2
misskey-a5fa9a2cef0b76c3e3179ae4afd1616a10d32f35.zip
chore(workflow): use `node-version-file` instead of hardcoded `node-version` (#15658)
* chore(workflow): use `node-version-file` instead of hardcoded `node-version` * chore: test min version
Diffstat (limited to '.github/workflows/test-federation.yml')
-rw-r--r--.github/workflows/test-federation.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/test-federation.yml b/.github/workflows/test-federation.yml
index c739688dc9..737b543a73 100644
--- a/.github/workflows/test-federation.yml
+++ b/.github/workflows/test-federation.yml
@@ -21,7 +21,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- node-version: [22.11.0]
+ node-version-file:
+ - .node-version
+ - .github/min.node-version
steps:
- uses: actions/checkout@v4
with:
@@ -43,10 +45,10 @@ jobs:
exit 1
fi
done
- - name: Use Node.js ${{ matrix.node-version }}
+ - name: Use Node.js
uses: actions/setup-node@v4.4.0
with:
- node-version: ${{ matrix.node-version }}
+ node-version-file: ${{ matrix.node-version-file }}
cache: 'pnpm'
- name: Build Misskey
run: |
@@ -54,6 +56,7 @@ jobs:
pnpm build
- name: Setup
run: |
+ echo "NODE_VERSION=$(cat ${{ matrix.node-version-file }})" >> $GITHUB_ENV
cd packages/backend/test-federation
bash ./setup.sh
sudo chmod 644 ./certificates/*.test.key