A React component library for rendering common AT Protocol records for applications such as Bluesky and Leaflet.

fix workflow

Changed files
+13 -3
.tangled
+13 -3
.tangled/workflows/upload-demo-to-wisp.yml
···
depth: 1
submodules: false
dependencies:
+
nixpkgs:
+
- nodejs
+
- coreutils
+
- curl
github:NixOS/nixpkgs/nixpkgs-unstable:
-
- bun:
+
- bun
environment:
SITE_PATH: 'demo'
···
- name: build demo
command: |
export PATH="$HOME/.nix-profile/bin:$PATH"
-
bun run build:demo
+
# regenerate lockfile, https://github.com/npm/cli/pull/8184 makes rolldown not install
+
rm package-lock.json bun.lock
+
bun install @rolldown/binding-linux-arm64-gnu --save-optional
+
bun install
+
+
# run directly with bun because of shebang issues in nix
+
BUILD_TARGET=demo bun node_modules/.bin/vite build
- name: upload to wisp
command: |
-
curl https://sites.wisp.place/did:plc:ttdrpj45ibqunmfhdsb4zdwq/wisp-cli-binaries/wisp-cli-aarch64-linux -o wisp-cli
+
curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-aarch64-linux -o wisp-cli
chmod +x wisp-cli
./wisp-cli \
"$WISP_HANDLE" \