Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Oct 2, 2024
1 parent 87bcd6f commit 8344d14
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
matrix:
# run ut in MacOS, as SWC cases will fail in Ubuntu CI
os: [macos-14, windows-latest]
node-version: [22]

steps:
- name: Checkout
Expand All @@ -42,11 +41,11 @@ jobs:
- "!**/_meta.json"
- "!**/dictionary.txt"
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js
if: steps.changes.outputs.changed == 'true'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 22
cache: 'pnpm'

- name: Install Dependencies
Expand All @@ -64,7 +63,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [22]

steps:
- name: Checkout
Expand All @@ -86,11 +84,11 @@ jobs:
- "!**/_meta.json"
- "!**/dictionary.txt"
- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js
if: steps.changes.outputs.changed == 'true'
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 22
cache: 'pnpm'

- name: Install Dependencies
Expand Down

0 comments on commit 8344d14

Please sign in to comment.