diff --git a/.tangled/workflows/test.yml b/.tangled/workflows/test.yml new file mode 100644 index 0000000..033abaf --- /dev/null +++ b/.tangled/workflows/test.yml @@ -0,0 +1,21 @@ +when: + - event: ["push", "manual"] + branch: ["main", "develop"] + - event: ["pull_request"] + branch: ["main"] + +engine: "nixery" + +dependencies: + nixpkgs: + - nodejs + +steps: + - name: "ci setup" + command: "npm ci" + - name: "rescript build" + command: "npm run res:build" + - name: "project build" + command: "npm run build --if-present" + - name: "test" + command: "npm test"