Skip to content

build: build using unbuild, update dependencies, support vite 5 (#134) #261

build: build using unbuild, update dependencies, support vite 5 (#134)

build: build using unbuild, update dependencies, support vite 5 (#134) #261

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check formatting
run: pnpm lint:check
- name: Test
run: pnpm test
- name: Build
run: pnpm build