Skip to content

fix(vite-plugin-windicss): fix vite5 hmr #576

fix(vite-plugin-windicss): fix vite5 hmr

fix(vite-plugin-windicss): fix vite5 hmr #576

Workflow file for this run

name: Test
on:
push:
branches:
- main
- master
- next
pull_request:
branches:
- main
- master
- next
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16.x, 18.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- name: Setup
run: pnpm i -g @antfu/ni
- name: Install
run: nci
- name: Build
run: nr build
- name: Test
run: nr test
- name: Test Examples
run: nr test:examples
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js v16
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
- name: Setup
run: pnpm i -g @antfu/ni
- name: Install
run: nci
- name: Lint
run: nr lint --if-present