Skip to content

feat: add useSnapshot and useCodeCache #207

feat: add useSnapshot and useCodeCache

feat: add useSnapshot and useCodeCache #207

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build on ${{ matrix.target }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- target: linux
os: ubuntu-latest
binary: ./dist/hello
- target: windows
os: windows-latest
binary: .\dist\hello.exe
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: pnpm
- name: Install
run: |
pnpm install
cd example
pnpm install
- name: Build
working-directory: ./example
run: pnpm build
- name: Test binary
working-directory: ./example
run: ${{ matrix.binary }} world