diff options
| author | zyoshoka <107108195+zyoshoka@users.noreply.github.com> | 2025-05-04 14:14:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 14:14:09 +0900 |
| commit | a5fa9a2cef0b76c3e3179ae4afd1616a10d32f35 (patch) | |
| tree | e9cb89a5c4c528a5810f6bb93d2c33188c48b0e5 /.github/workflows/test-federation.yml | |
| parent | fix(frontend): MkFolderのアニメーションにフォールバックを追... (diff) | |
| download | misskey-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.yml | 9 |
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 |