Skip to content

0.1.0

0.1.0 #9

Workflow file for this run

name: Test
on:
push:
permissions:
contents: read
jobs:
test:
name: (${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Install
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
.cargo-cache
target/
key: cargo-${{ matrix.os }}
- name: Install dependencies
run: yarn install
- run: yarn build
- name: Next.js
run: |
cd examples/next
yarn
yarn build
- name: Vite
run: |
cd examples/vite
yarn
yarn build