Jacky Zhao
2023-07-16 a3e4c86a4cf18e31fe5b65d57ce120174c9f6aee
fix ci, disable strict path type checks by default
1 files modified
1 files renamed
6 ■■■■ changed files
.github/workflows/ci.yaml 2 ●●● patch | view | raw | blame | history
quartz/path.ts 4 ●●●● patch | view | raw | blame | history
.github/workflows/ci.yaml
File was renamed from .github/workflows/deploy.yaml
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: Build and Test
on:
  push:
quartz/path.ts
@@ -43,8 +43,8 @@
//                                             └────────────┤ MD File ├─────┴─────────────────┘
//                                                          └─────────┘
const STRICT_TYPE_CHECKS = true
const HARD_EXIT_ON_FAIL = true
const STRICT_TYPE_CHECKS = false
const HARD_EXIT_ON_FAIL = false
function conditionCheck<T>(name: string, label: 'pre' | 'post', s: T, chk: (x: any) => x is T) {
  if (STRICT_TYPE_CHECKS && !chk(s)) {