the next generation of the in-browser educational proof assistant
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

port github CI to tangled

Note that a spindle instance has to be chosen before pipelines are run
in the repo settings.

This doesn't port over the testing across multiple node versions that
github had. The easiest way to do that as far as I can see would be
having two workflows, each pulling in a separate `nodejs<ver>` package
from nixpkgs. Maybe I'm missing something in the docs
(https://docs.tangled.org/spindles.html#pipelines), though?

For now, I think it's fine to test on a single version of node anyway.

authored by

Josh Brown and committed by
Tangled
0d7282eb 6b5f2d10

+21
+21
.tangled/workflows/test.yml
··· 1 + when: 2 + - event: ["push", "manual"] 3 + branch: ["main", "develop"] 4 + - event: ["pull_request"] 5 + branch: ["main"] 6 + 7 + engine: "nixery" 8 + 9 + dependencies: 10 + nixpkgs: 11 + - nodejs 12 + 13 + steps: 14 + - name: "ci setup" 15 + command: "npm ci" 16 + - name: "rescript build" 17 + command: "npm run res:build" 18 + - name: "project build" 19 + command: "npm run build --if-present" 20 + - name: "test" 21 + command: "npm test"