Skip to content

Commit b74cd52

Browse files
committed
fix workflow failure filename
1 parent 1685d09 commit b74cd52

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ jobs:
8787
# baseline test lowest vite and node version
8888
- node: 20.19
8989
os: ubuntu-latest
90-
vite: '6.3.0'
90+
vite: 'baseline'
9191
# future test with rolldown-vite
9292
- node: 24
9393
os: ubuntu-latest
94-
vite: 'npm:rolldown-vite@latest'
94+
vite: 'rolldown-vite'
9595
steps:
9696
- uses: actions/checkout@v4
9797
- uses: actions/setup-node@v4
@@ -110,9 +110,16 @@ jobs:
110110
cache-dependency-path: '**/pnpm-lock.yaml'
111111
- name: install
112112
run: pnpm install --frozen-lockfile --ignore-scripts
113-
- name: update vite version
114-
if: matrix.vite != 'current'
115-
run: pnpm update -r --no-save vite@${{matrix.vite}}
113+
- name: downgrade vite to baseline
114+
if: matrix.vite == 'baseline'
115+
run: |
116+
pnpm update -r --no-save [email protected]
117+
pnpm ls vite
118+
- name: update vite to rolldown-vite
119+
if: matrix.vite == 'rolldown-vite'
120+
run: |
121+
pnpm update -r --no-save vite@npm:rolldown-vite@latest
122+
pnpm ls rolldown-vite
116123
- name: install playwright chromium
117124
run: pnpm playwright install chromium
118125
- name: run tests

0 commit comments

Comments
 (0)