feat: inject context into visitor #90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
env: | |
DEBUG: napi:* | |
MACOSX_DEPLOYMENT_TARGET: '10.13' | |
permissions: | |
contents: write | |
id-token: write | |
'on': | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
paths-ignore: | |
- '**/*.md' | |
- LICENSE | |
- '**/*.gitignore' | |
- .editorconfig | |
- docs/** | |
pull_request: null | |
jobs: | |
build-freebsd: | |
runs-on: ubuntu-latest | |
name: Build FreeBSD | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
id: build | |
uses: vmactions/freebsd-vm@v1 | |
env: | |
DEBUG: napi:* | |
RUSTUP_HOME: /usr/local/rustup | |
CARGO_HOME: /usr/local/cargo | |
RUSTUP_IO_THREADS: 1 | |
with: | |
envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS | |
usesh: true | |
mem: 8000 | |
copyback: false | |
prepare: | | |
pkg install -y -f curl node libnghttp2 npm | |
curl https://sh.rustup.rs -sSf --output rustup.sh | |
sh rustup.sh -y --profile minimal --default-toolchain beta | |
export PATH="/usr/local/cargo/bin:$PATH" | |
npm i -g pnpm | |
echo "~~~~ rustc --version ~~~~" | |
rustc --version | |
echo "~~~~ node -v ~~~~" | |
node -v | |
echo "~~~~ pnpm --version ~~~~" | |
pnpm --version | |
run: | | |
export PATH="/usr/local/cargo/bin:$PATH" | |
pwd | |
whoami | |
env | |
freebsd-version | |
GITHUB_EVENT_PATH= pnpm install | |
GITHUB_EVENT_PATH= pnpm build | |
strip -x packages/**/*.node | |
ls -lh packages/**/*.node | |
GITHUB_EVENT_PATH= pnpm test |