Skip to content

Commit

Permalink
add vite 5 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 28, 2023
1 parent 63b28c4 commit 851153a
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ name: CI
on:
push:
branches:
- main
- v1
- v2
pull_request:
branches:
- main
- v1
- v2
env:
# we call `pnpm playwright install` instead
Expand Down Expand Up @@ -78,16 +74,32 @@ jobs:
node: [16]
os: [ubuntu-latest, macos-latest, windows-latest]
svelte: [4]
vite: [4]
include:
- node: 14
os: ubuntu-latest
svelte: 3
vite: 4
- node: 18
os: ubuntu-latest
svelte: 4
vite: 4
- node: 20
os: ubuntu-latest
svelte: 4
vite: 4
- node: 14
os: ubuntu-latest
svelte: 3
vite: 5
- node: 18
os: ubuntu-latest
svelte: 4
vite: 5
- node: 20
os: ubuntu-latest
svelte: 4
vite: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand Down Expand Up @@ -120,6 +132,9 @@ jobs:
- name: install for node14 or svelte3
if: matrix.node == 14 || matrix.svelte == 3
run: pnpm install --no-frozen-lockfile --prefer-offline --ignore-scripts
- name: install vite 5
if: matrix.vite == 5
run: pnpm update -r --latest vite
- name: install playwright chromium
run: pnpm playwright install chromium
- name: run tests
Expand Down

0 comments on commit 851153a

Please sign in to comment.