diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/ci.yml new file mode 100644 index 0000000..4afd71b --- /dev/null +++ b/.tangled/workflows/ci.yml @@ -0,0 +1,33 @@ +when: + - event: ["push", "manual"] + branch: ["**"] + - event: ["pull_request"] + branch: ["**"] + +engine: "nixery" + +clone: + depth: 1 + +dependencies: + nixpkgs/nixpkgs-unstable: + - bun + - neovim + - plan9port + - rc + +cache: + - key: "bun-dependencies" + hash: + - opencode-plugin/bun.lock + - opencode-plugin/package.json + paths: + - opencode-plugin/node_modules + +steps: + - name: "Install dependencies" + command: "cd opencode-plugin && bun install --frozen-lockfile" + - name: "Test" + command: "9 mk test" + - name: "Build" + command: "9 mk build"