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-frontend.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-frontend.yml')
| -rw-r--r-- | .github/workflows/test-frontend.yml | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index 25d263f102..94e43cf91e 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -27,20 +27,16 @@ jobs: name: Unit tests (frontend) runs-on: ubuntu-latest - strategy: - matrix: - node-version: [22.11.0] - steps: - uses: actions/checkout@v4.2.2 with: submodules: true - name: Setup pnpm uses: pnpm/action-setup@v4.1.0 - - 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: '.node-version' cache: 'pnpm' - run: pnpm i --frozen-lockfile - name: Check pnpm-lock.yaml @@ -64,7 +60,6 @@ jobs: strategy: fail-fast: false matrix: - node-version: [22.11.0] browser: [chrome] services: @@ -92,10 +87,10 @@ jobs: # if: ${{ matrix.browser == 'firefox' }} - name: Setup pnpm uses: pnpm/action-setup@v4.1.0 - - 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: '.node-version' cache: 'pnpm' - run: pnpm i --frozen-lockfile - name: Copy Configure |