forked from module-federation/vite
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (36 loc) · 1015 Bytes
/
integration-test.yml
File metadata and controls
45 lines (36 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Integration Test
on:
pull_request:
branches:
- main
permissions:
pull-requests: read
jobs:
integration-test:
name: Integration (vite ${{ matrix.vite-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# This plugin does not yet correctly support version above 7.1.7
vite-version: ['5', '6', '7.1.7']
steps:
- name: Checkout
uses: actions/checkout@v5
- name: PNPM Install
uses: pnpm/action-setup@v4
with:
version: 10.28.2
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: 'pnpm'
registry-url: https://registry.npmjs.org/
- run: corepack enable
- name: Install NPM Dependencies
run: pnpm install --frozen-lockfile
- name: Override vite version
run: pnpm add -Dw vite@${{ matrix.vite-version }}
- name: Run Integration Tests
run: pnpm test:integration